Ubuntu Advanced?

Dane Mutters dmutters at gmail.com
Tue Sep 8 02:34:50 UTC 2009


On Fri, 2009-08-28 at 18:18 +0100, Dave Walker wrote:
> Dane Mutters wrote:
> <SNIP>
> > Just an example that I was arguing with yesterday: /etc/resolv.conf.
> > It's auto-generated by NetworkManager.  I like NM; don't get me wrong,
> > but if you need to change the DNS (or other) settings from the command
> > prompt, it's really a pain.
> >
> > --Dane
> 
> Hi Dane,
> 
> Whilst i appreciate that is just an example, that particular issue can
> be overcome with, appending:
> "prepend domain-name-servers $SOME_DNS_SERVER,$DNS_SERVER_2;"
> to: /etc/dhcp3/dhclient.conf
> 
> Then you have two DNS servers,at the top of /etc/resolv.conf
> 
> Kind Regards,
> Dave Walker

Thanks for the reply, Dave.  That information will surely be useful in
the future.  :-D

Might it be good to have a commented-out line in the
generated /etc/resolv.conf stating something to that effect?  I think it
would be a good general rule to do this with any editable file in /etc/
(Editable Text Configuration...) that would normally be clobbered by
such a thing after an edit.  Any thoughts on that?

--Dane





More information about the Ubuntu-devel-discuss mailing list