Setting static DNS

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Fri May 1 13:26:01 UTC 2009


On Fri, May 01, 2009 at 08:52:32PM +0900, Madison Kelly wrote:
> For most networks, I've no control over. Things like hotspots, networks  
> in hotels and airports and so on. I remember there was a way in older  
> versions of Ubuntu to set the DNS separately from the rest of the  
> network values, but it seems to have been removed or moved in recent  
> versions.
>
> Maybe I have to write a small script to watch DBus and edit resolv.conf  
> when it changes myself...

dhcp client should have a config file where you can tell it to NOT update
the resolv.conf, and if you tell it that, then you should be abel to
manage it manually instead.  Or you could play with the resolvconf tool
which seems to be configurable to do various things.

-- 
Len Sorensen
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list