named (bind) in jail does not start

Axel S. Gruner grunix at bsdforen.de
Mon Dec 1 07:59:07 PST 2003


On Sat, 29 Nov 2003 15:39:50 +0000
Matthew Seaman <m.seaman at 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.


More information about the freebsd-questions mailing list