Re: named (bind) in jail does not start

From: Axel S. Gruner <grunix_at_bsdforen.de>
Date: Mon, 1 Dec 2003 16:58:19 +0100
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.
Received on Mon Dec 01 2003 - 06:59:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:32 UTC