View Full Version : [ubuntu] DNS Bind across VLAN's

September 23rd, 2010, 04:42 PM

I have run into a strange problem. I'm setting up a local network where there's multiple subnets (vlans). I configured bind and it works fine on the DNS server. I'm able to resolve any name and it properly forwards names to another dns server.

However, with machines on other networks, I can only lookup names that I put in. It does NOT forward other names (ie: google.com). I get the following error message with nslookup.

** server can't find www.google.com: NXDOMAIN

I was wondering, is there some sort of switch or trick to get bind to be able to forward lookups for everything, and not just the subnet it is running on?


September 23rd, 2010, 05:12 PM
Added the following to 'options' and it worked....

<add trusted net acl section>

allow-query { trusted; };
allow-recursion { trusted; };
allow-query-cache { trusted; };
version "go away";