Make BIND use DHCP DNS as backup

Posted by cainmi on Server Fault See other posts from Server Fault or by cainmi
Published on 2012-09-20T04:46:01Z Indexed on 2012/09/20 9:41 UTC
Read the original article Hit count: 227

Filed under:
|
|

I run BIND locally on my OS X machine, to enable wildcard Apache vhosts, which requires setting the DNS server for all network interfaces to 127.0.0.1.

This works great, but means when I am on a network which uses an internal DNS server to route special (i.e. .companyname) URLs to a server on the network, the lookup fails.

I tried adding both 127.0.0.1 and the DHCP provided DNS server, but this doesn't work either.

Is there a way to make BIND use the DHCP DNS server for requests it cannot resolve locally?

© Server Fault or respective owner

Related posts about dns

Related posts about macosx