Re: Where is the new RESOLV.conf file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2011-03-24 at 21:13 -0400, Mark C. Allman wrote:
> 
> On Thu, 2011-03-24 at 11:28 -0500, Steven Stern wrote:
> > On 03/24/2011 10:57 AM, johhny_at_poland77 wrote:
> > > sorry, i meant with command line, not by clicking :\
> > > 
> > > ---- Be Thu, 24 Mar 2011 08:32:54 -0700 Steven Stern  írta ---- 
> > > 
> > >> On 03/24/2011 10:03 AM, johhny_at_poland77 wrote: 
> > >>> Fedora 14: 
> > >>>
> > >>> If I: 
> > >>>
> > >>> $ cat /etc/resolv.conf 
> > >>> # Generated by NetworkManager 
> > >>> nameserver 8.8.8.8 
> > >>> nameserver 8.8.4.4 
> > >>> $ 
> > >>>
> > >>> where can i set the nameservers (so I don't have to set them after a reboot), if the NetworkManager rewrites them in the "/etc/resolv.conf"? 
> > >>>
> > >>> Thank you! 
> > >>>
> > >>
> > >> Open NetworkManager by right clicking on the network manager icon in the 
> > >> system tray and select "Edit Connections". Select the connection in 
> > >> question, click EDIT, click in the IPv4 tab, and enter the DHS servers. 
> > >> Click SAVE. 
> > >>
> > >> -- 
> > Both nmcli and cnetworkmanager don't seem to modify settings.  You can
> > always  edit the right files in /etc/sysconfig/network-scripts
> > 
> If you're talking to a DHCP server then shouldn't NetworkManager be
> getting the DNS information from there?  When NetworkManager switches
> connections I thought it updated resolv.conf from whatever DHCP server
> it talked to.

No, that is only a common but special case for hosts at the edge of a
network, such as a workstation.  The most common exceptions to this
would be:
1) situations where I want my own DNS, not my providers
2) situations where I am sitting between 2 networks, which DNS field
should I take?
3) it is not required that DHCP provide me DNS fields - that is a
commonly configured field only
4) situations where I do not want DNS to preempt local sources like
FILES.


-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux