Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 2006 13:54:34 +0100
From:      Fremlins <freminlins@gmail.com>
To:        Andy Greenwood <greenwood.andy@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: named always binds to "*"
Message-ID:  <446DC00A.4030905@gmail.com>
In-Reply-To: <3ee9ca710605190532p33836b63y3f6a8639052d64b8@mail.gmail.com>
References:  <3ee9ca710605190532p33836b63y3f6a8639052d64b8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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?446DC00A.4030905>