Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 2003 16:58:19 +0100
From:      "Axel S. Gruner" <grunix@bsdforen.de>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: named (bind) in jail does not start
Message-ID:  <20031201165819.49112579.grunix@bsdforen.de>
In-Reply-To: <20031129153950.GA1559@happy-idiot-talk.infracaninophile.co.uk>
References:  <20031129152348.5dc04330.grunix@bsdforen.de> <20031129153950.GA1559@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 29 Nov 2003 15:39:50 +0000
Matthew Seaman <m.seaman@infracaninophile.co.uk> wrote something
special:

> On Sat, Nov 29, 2003 at 03:23:48PM +0100, Axel S. Gruner wrote:
> > /usr/sbin/named
> > 
> > i get this error message:
> >   
> > opensocket_f: bind([0.0.0.0].53): Address already in use
> > 
> > Ok, Port 53 is not in use in the jail nor the hostsystem.
> > I think the problem is 0.0.0.0, and i have to bind named on the IP
> > of the jail. 
> > 
> > I tested same named configuration on the hostsystem, i thought about
> > some misconfigration, but on the hostsystem named starts perfectly.
> > 
> > I also tried to start named with -g and -u in the jail, same error.
> > 
> > So, my short question is, how can i run named in the jail?
> > Any ideas?
 
> [...]
> In bind9 you need to add something like the following to named.conf --
> bind8 will be similar:
> 
>     options {
> 
>         [...]
> 
>         listen-on {
>             192.168.1.1;
>         };
>         query-source address 192.168.1.1 port 53;
>         transfer-source      192.168.1.1 port 53;
>         notify-source        192.168.1.1 port 53;
>     };

Yes. Thats it. Thanks a lot. 


-- 
asg

Die Antwort auf alle Fragen ist 42.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031201165819.49112579.grunix>