Shao Zhang([EMAIL PROTECTED]) writes: >> Also, in Windoze, I don't need to put in the dns search >> entries. But in linux,
>> I must put them in resolv.conf. Why? Or in named.conf in /etc. Michael Beattie <[EMAIL PROTECTED]> responds: > As my summer project, I implemented [getting the nameserver during > PPP negotiation] into pppd... It works fine, but I am yet to find a > successful way of making use of the address. A couple of mechanisms leap to mind: A) modifying /etc/resolv.conf This will only work on OSes which do not cache resolv.conf. Debian does not cache resolv.conf, so it should work. B) modifying /etc/named.conf (or named.boot for systems not running BIND 8) This will only work on OSes which are running a local nameserver. This option should also work under Debian. As a bonus, Debian already rereads named.conf after the link is brought up (if you have BIND installed). -ccwf