howto lock DNS number in /etc/resolv.conf
Ed Greshko
Ed.Greshko at greshko.com
Sun Aug 21 00:54:11 UTC 2011
On 08/21/2011 08:36 AM, james tate wrote:
> Fedora 15
>
> How can I lock down DNS nameserver in /etc/resolv.conf , every time I
> reboot the DNS is changed ?
>
> Fedora is getting bad DNS numbers from a 2Wire router.
Assuming you are using Gnome....
All you need to do is bring up "network settings" you simply go to IPv4
settings and if you are using DHCP simply select the Method "Automatic
(DHCP) addresses only". This then allows you to manually configure DNS
servers.
The manual way to do it would be to edit the appropriate ifcfg- file to
have....
PEERDNS=no
DNS1=xxx.xxx.xxx.xxx
--
Even if you do learn to speak correct English, whom are you going to
speak it to? -- Clarence Darrow
More information about the users
mailing list