[Novalug] DNS Problem

Paul W. Frields stickster@gmail.com
Wed Jul 30 17:25:05 EDT 2008


On Wed, 2008-07-30 at 17:19 -0400, Dan Arico wrote:
> I'm having a problem with my new ubuntu setup on my laptop. I want to set it 
> to use opendns. Every time I boot up, it loses the DNS settings. I can set it 
> again using the network tools, but it gets lost next time I power down.
> 
> How can I make a permanent change?

Does Ubuntu use the PEERDNS= setting
in /etc/sysconfig/network-scripts/ifcfg-* ?  If so, you can set that to
"no", and indicate DNS settings:

PEERDNS=no
DNS1=server1.opendns.org    # this is NOT the real hostname
DNS2=server2.opendns.org    # neither is this
DNS3=server3.opendns.org    # there are 3 possible in most glibc

HTH!

-- 
Paul W. Frields
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://paul.frields.org/   -  -   http://pfrields.fedorapeople.org/
  irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <https://lists.firemountain.net/pipermail/novalug/attachments/20080730/5c8f4ee7/attachment.asc>


More information about the Novalug mailing list