On Tue, Aug 16, 2011 at 11:31 AM, Steve Kleene <sk...@syrano.acb.uc.edu> wrote:
> On Tue, 16 Aug 2011 03:32:42 -0500, Selim T. Erdogan wrote:
>
>> (I also have dns-nameservers lines in my eth0 stanza in /e/n/i.
>> IIRC, when I didn't, using dynamic wireless connections kept clobbering
>> the static DNS entries in /etc/resolv.conf.)
>
> That's interesting, because on one my machines resolv.conf gets nulled out
> during the boot process.  I hacked around that by putting it back via
> /etc/rc.local.  I'll try the better solution you suggest.

Rather than re-writing "/etc/resolv.conf" through "/etc/rc.local" or
set it to "immutable", you can edit "/etc/dhcp/dhclient.conf" not to
request DNS server settings from the DHCP server with a "supercede"
statement.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAOdo=SysvHGbeyCUQfAzL8SvskQqkS-smZbxOpuNM9=ucmb...@mail.gmail.com

Reply via email to