Ask Your Question
1

how to edit wired connection dns server settings in f17

asked 2012-08-22 07:29:54 -0600

B891_ gravatar image

I would like to add my local dns server to wired connection. Keep DHCP automatic but specify favorite dns server, when i add an additional DNS server the save button is disabled. Via $user > System settins > Network > Wired > Options. If there is a terminal way, that is fine.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
2

answered 2012-08-22 07:50:50 -0600

hhlp gravatar image

updated 2012-12-04 13:33:25 -0600

GUI

user > System settins > Network > Wired > Options

  • ipv4 settings tab

    • only Automatic addresses (DHCP)

    DNS Server : for example google one's 8.8.8.8, 8.8.4.4 (separated by comma) and save it.

Command Line

Under Linux / UNIX / BSD operating system, you need to edit the /etc/resolv.conf file and add the line:

nameserver {IP-OF-THE-DNS-1}
nameserver {IP-OF-THEISP-DNS-SERVER-2}

Login as the root, enter:

vi /etc/resolv.conf

OR

sudo vi /etc/resolv.conf

Modify or enter nameserver as follows (for exmaple OpenDns) :

nameserver 208.67.222.222
nameserver 208.67.220.220

How to RELOAD

sudo systemctl restart network.service
edit flag offensive delete link more
0

answered 2012-12-04 13:05:24 -0600

Vishu gravatar image

Does changes in resolv.conf require network restart.

Do i have to do service network restart after modifications to resolv.conf

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-08-22 07:29:54 -0600

Seen: 10,692 times

Last updated: Dec 04 '12