[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

dhclient vs resolver question



Before switching to DHCP, I had added

	lookup files bind

at the end of my /etc/resolv.conf file, because there are some fixed hosts
on a NATted network - no point dialing the ISP only to fail to resolve these...

Now, I kinda like DHCP since it does more of the work for me, when I plug
into different places. However, now I have to manually edit resolv.conf
to put that "lookup" line back in whenever dhclient rewrites it.

Questions:
1) Is there a way to get dhclient to provide this "lookup files bind"
info in the resolv.conf file?
2) If not, would it make more sense to move this information into
a general resolver switch, like Sun's /etc/nsswitch.conf (which Linux
et al have copied the syntax of; I think Sun got the idea, but not the 
syntax, from DEC). Or do I dare suggest a new feature? :-)

Anyway, thanks if you can answer #1. 

Ian



Visit your host, monkey.org