Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] DNS and resolv.conf


Ashley wrote:
Thanks Dave,
Did exactly that. I will restart the network and see if it works.
Regards
Ashley

Just to follow up, for some reason the old DNS still comes up. I seem to have alleviated the problem using the "prepend" option to put in my preferred DNSs and this seems to work fine.

Ashley



David Gillies wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ashley wrote:
I have changed the resolv.conf to show the main DNSs of my provider in
every place I can find but still I have to manually edit it each time I
start up and several times whilst I am on line as it changes back to the
address of my modem/router.
Obviously there is something running that changes it back every few
minutes but I can't guess what, so I have no idea how to stop it
changing in Ubuntu.
If anyone out there knows something about Ubuntu64 6.10, please give me
a clue where to look.

Ashley,

In /etc/dhcp3/dhclient.conf, the following line:

request subnet-mask, broadcast-address, time-offset, routers,
        domain-name, domain-name-servers, host-name,
        netbios-name-servers, netbios-scope;

You just need to remove the "domain-name-servers" bit and it should be
all good.

- --
dave.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFFbpvrhPPdWeHRgaoRApJfAJ9wveKoDx6p7+zlxmTk7kVoMV/HGACg3H+r
TVdEfrXHmURgcFbIvYrEsOg=
=6CKR
-----END PGP SIGNATURE-----