Clive McBarton schreef: > To make my original question more precise: I want the stuff I write into > resolv.conf to persist, but it does not have to be in that file. I'm > happy to write things elsewhere as long as *some place* makes my changes > persistent. > > Sjoerd Hardeman wrote: >> Therefore, dns settings should be set either via dhcp, in >> /etc/networks/interfaces or via some user-leven config framework like >> wicd or network-manager. > > So maybe I should actually *install* resolvconf or reinstall > network-manager? In that case, I need help with where the new config goes. Well, that depends. in /etc/networks/interfaces you can set a nameserver and search domain. When you ifup that device, the info that you've specified in /etc/networks/interfaces then gets written to /etc/resolv.conf. Yet, this only applies to static networks, as what I've understood you do not have. For dailup, stuff is configured via ppp. Either see other posts on how to configure that or use a dialup gui like kppp which lists you all the neat options to set dnsses yourself (which that programme then will write to your /etc/resolv.conf. Similarly, you can edit the dhcpd-config, or tell programmes using it (nm, wicd, /etc/networks/interfaces with auto config devices) to put an own nameserver in /etc/resolv.conf. Yet, relying on the immutability of /etc/resolv/conf is like relying on the persistence of files on /tmp: just DON'T!
Sjoerd
signature.asc
Description: OpenPGP digital signature