How to set DNS server?
If you are uncomfortable using the terminal (although I would never discourage anyone from using it and familiarizing him/her self with the terminal), you can also achieve the task using the GUI method below:
- Open Network-Manager from the icon in the System Tray.
- Select Edit Connections from the menu.
- Select Wired/Wireless depending on your type of connection.
- Double click on your particular connection.
- Select IPv4 (you are in all probability not using IPv6).
- Change the method to Automatic (DHCP) Addresses Only.
- In the field provided for DNS servers, enter two DNS addresses separated by a comma. I would recommend trying Google's DNS servers at first.
- Click Save.
- Disconnect from your network and then reconnect to it.
- Restart your browser to test your connection speed.
Thats it.
Edit the /etc/networking/interface
file with some text editor.
Since you are not familiar with terminal, nano
should be easiest ways.
Or you can use some graphical tool, like gedit
, leafpad
, mousepad
and issue in terminal:
nano /etc/networking/interface
and paste the following:
auto lo
iface lo inet loopback
address 127.0.0.1
netmask 255.0.0.0
auto eth0
iface eth0 inet dhcp
dns-nameservers 8.8.8.8
dns-nameservers 8.8.4.4
Don't edit /etc/resolv.conf manualy. It will be reset when you restart the network.