Can BIND on vpn use name servers assigned via DHCP by ISP?

Jorge Canas jcanas2000 at
Wed Feb 7 16:21:09 UTC 2007


I have setup a home gateway (2 ethernet cards, one on the WAN and the other 
on my private network (vpn)).

The WAN interface gets configured via DHCP from my ISP.  The ISP also 
provides the addresses of its primary and backup nameservers. I believe 
these get written into /etc/resolv.conf

The VPN interface has a private static IP address, and a local DNS server 
runs off this interface for the rest of the clients on the vpn.

Anyway, so far, this a very vanilla setup.  But I am not sure how to make 
the local DNS forward every query it receives to the nameservers that appear 
in /etc/resolv.conf

Anyone know how to configure the local DNS to do that?  Caching on the local 
DNS would also be nice, but the forwarding bit is more important to me right 


- Jorge

FREE online classifieds from Windows Live Expo – buy and sell with people 
you know

More information about the bind-users mailing list