Date: Fri, 19 May 2006 09:01:20 -0400 From: "Andy Greenwood" <greenwood.andy@gmail.com> To: Fremlins <freminlins@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: named always binds to "*" Message-ID: <3ee9ca710605190601n3fb52c91m6c8423d1bba2156a@mail.gmail.com> In-Reply-To: <446DC00A.4030905@gmail.com> References: <3ee9ca710605190532p33836b63y3f6a8639052d64b8@mail.gmail.com> <446DC00A.4030905@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
that didn't do it. I meant to include this with my first post, but forgot to. I just now noticed that it's udp6, not udp4, so I'm recompiling with --disable-ipv6 [root@behemoth ~]$ sockstat | grep "\*:[0-9]" bind named 89293 23 udp6 *:58084 *:* On 5/19/06, Fremlins <freminlins@gmail.com> wrote: > Andy Greenwood wrote: > > I'm trying to set up my first jail, and I've got the below named.conf. > > However, even with the query-source line below, it always binds to the > > wildcard address! Anyone seen this behavior before and what can I do > > to fix it? > > Yes, add the following under options: > > listen-on port 53 { 192.168.1.1; }; > > > // Specify the subnets we're going to serve > > acl homenet { 192.168.0.0/16; } ; > > options { > > directory "/etc/namedb"; > > allow-query { homenet; }; > > listen-on { 192.168.1.1; }; > > query-source address 192.168.1.1; > > }; > > Frem. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ee9ca710605190601n3fb52c91m6c8423d1bba2156a>