The NZ Linux Resource

[AuckLUG] Ubuntu, DNS and Delink.

antoine antoine at delaunay.org
Wed Jul 26 14:07:46 NZST 2006


Had the same issue, the ugly hack I decided on using was to to edit
the script rewriting the resolv.conf. In Debian it's the
/etc/dhclient-script (might be in /etc/dhcp3 on ubuntu) which rewrites
your resolv.conf entries every 10 minutes.
Editing it and commenting this line should do the trick :

53c53
<         mv -f $new_resolv_conf /etc/resolv.conf
---
>         #mv -f $new_resolv_conf /etc/resolv.conf

I haven't tried it on ubuntu so you might have to play around before
it works and if you use a latptop you might have to switch forth and
back between the two versions depending on the network.

Antoine

On 7/26/06, Barefoot Genius <barefootgenius at gmail.com> wrote:
> Has anyone run into the problem with the Dlink DSL-502T resetting their
> DNS servers under Ubuntu 6.06 LTS?
> Every ten minutes or so mine resets my DNS server to 10.1.1.1 and I have
> to manually change it to 60.234.1.1 again.  I have only just changed
> routers and the last one worked fine.  There are a couple of things in
> the Ubuntu forums about disabling IPV6
> (http://www.ubuntuforums.org/showthread.php?p=1245498) but I wouldn't
> mind keeping that if I can (I might need it...in a couple of years
> time :)).
>
>
> _______________________________________________
> AuckLUG mailing list
> AuckLUG at linux.net.nz
> http://www.linux.net.nz/cgi-bin/mailman/listinfo/aucklug
>


-- 
Antoine
http://delaunay.org/antoine



More information about the AuckLUG mailing list If you have any questions or comments about this page, email the Webmaster
Design Copyright © 1998-2005 Linux.net.nz