Hi,
I use networkManager to handle network things. However, after started, it automatically generate a /etc/resolv.conf file the only dns is 192.168.1.1
I want to code the ISP DNS servers to /etc/resolv.conf permanently. How to do this?
Best
Y
On Thu, Dec 11, 2008 at 1:28 PM, L yuanlux@gmail.com wrote:
Hi,
I use networkManager to handle network things. However, after started, it automatically generate a /etc/resolv.conf file the only dns is 192.168.1.1
I want to code the ISP DNS servers to /etc/resolv.conf permanently. How to do this?
Use NM's connection settings editor and choose DHCP (addresses only) and then add the dns servers you want manually.
-jef
On Fri, Dec 12, 2008 at 9:35 AM, Jeff Spaleta jspaleta@gmail.com wrote:
On Thu, Dec 11, 2008 at 1:28 PM, L yuanlux@gmail.com wrote:
Hi,
I use networkManager to handle network things. However, after started, it automatically generate a /etc/resolv.conf file the only dns is 192.168.1.1
I want to code the ISP DNS servers to /etc/resolv.conf permanently. How
to
do this?
Use NM's connection settings editor and choose DHCP (addresses only) and then add the dns servers you want manually.
-jef
thanks, what's the command?
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
On Thu, Dec 11, 2008 at 2:11 PM, L yuanlux@gmail.com wrote:
thanks, what's the command?
right click on NM's desktop applet choose "edit connections"
-jef
No men!
Only you has add one line.
Create the file:
su -c 'nano /etc/dhclient-eth0.conf'
and write:
prepend domain-name-servers: xxx.xxx.xxx.xxx
Note: xxx.xxx.xxx.xxx is DNS1 or DN2 of your IPS. ad! Save and restart "NetworkManager"
su -c 'service NetworkManager restart'
And Ready!
Enjoy! :-)
And excusme by my english is very bad. :-(