named always binds to "*"

Fremlins freminlins at gmail.com
Fri May 19 05:54:41 PDT 2006


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