named always binds to "*"
Andy Greenwood
greenwood.andy at gmail.com
Fri May 19 06:02:22 PDT 2006
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 at behemoth ~]$ sockstat | grep "\*:[0-9]"
bind named 89293 23 udp6 *:58084 *:*
On 5/19/06, Fremlins <freminlins at 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.
>
More information about the freebsd-questions
mailing list