Network manager and dns

Paul W. Frields stickster at gmail.com
Sun Sep 28 15:04:14 UTC 2008


On Sun, Sep 28, 2008 at 08:37:37AM -0500, Mikkel L. Ellertson wrote:
> Adel ESSAFI wrote:
> > Hi all
> > I use network manager to connect to wireless. Every time, this tool
> > modifies /etc/resolv.conf. Is there any way to let NM to get only the IP
> > adress and to not modify the dns?
> > Thanks for help
> > regards
> > Adel
> > 
> There is a checkbox for this. I don't remember the exact wording - I
> think it was something about peerdns.

You can either add a line like this to the
/etc/sysconfig/network-scripts/ifcfg-<interface> file:

  PEERDNS=no

Or you can use System > Administration > Network, and turn off the
"Automatically obtain DNS information from provider" checkbox for the
appropriate interface.

-- 
Paul W. Frields                                http://paul.frields.org/
  gpg fingerprint: 3DA6 A0AC 6D58 FEC4 0233  5906 ACDB C937 BD11 3717
  http://redhat.com/   -  -  -  -   http://pfrields.fedorapeople.org/
  irc.freenode.net: stickster @ #fedora-docs, #fedora-devel, #fredlug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20080928/720cb69e/attachment-0001.sig>


More information about the fedora-list mailing list