Sorry for butting in a bit late...

Ed Abbott wrote:
Kris Deugau wrote:


Just keep in mind that NetworkManager may meddle with your resolv.conf,
so you can either keep a watch and manually fix it, or do as I've taken
to doing and setting the immutable bit with "chattr +i" so it can't be
changed.


Looks like resolv.conf is overwritten each time I reboot.
I'll implement your "chattr +i" suggestion after I've convinced
myself that I have a stable solution that works each and every
time.

Dont know what flavor of dhclient linux is running, but in freebsd this kind of unpleasantness can be avoided by editing /etc/dhclient.conf as follows:

interface "<iface name>" {
               supersede domain-name "your.internal.tld";
supersede domain-name-servers <list of your preferred name servers>;
}

Of course superseding domain name depends on your internal net configuration.

-Reko

Reply via email to