Ubuntu Forums Archive Viewer

How To Use Google Public DNS or OpenDNS in Ubuntu

Archived thread 1355185 from Sudan Team. Markdown source: Sudan_Team/thread_1355185_How_To_Use_Google_Public_DNS_or_OpenDNS_in_Ubuntu.md

Original URL About this archive
#1

[SIZE=2][COLOR=Black] the reasons to switch to other DNS servers for performance, privacy and censorship. Most of the people using OpenDNS as the first alternative, But Now Google Public DNS is available and the performance is much better.

[SIZE=4]Select [B]System-->Preferences-->Network Connections

[/B][IMG]file:///tmp/moz-screenshot.jpg[/IMG]Select the type of connection you have

[COLOR=#CC0000][COLOR=blue]click on ‘[COLOR=#CC0000]IPv4 Settings[/COLOR]’ tab. and select '[COLOR=#CC0000]Automatic (DHCP) address only[/COLOR]'

[/COLOR][/COLOR]Put these nameserver addresses as your ‘DNS Servers’:8.8.8.8, 8.8.4.4

Click ‘OK’ and reboot your machine[/SIZE].

[/COLOR][/SIZE]

#2

Thanks to FOSS

but i think i should backup my DNS server addresses first i run the following command to do it :

sudo cat /etc/resolv.conf  >> /home/**[COLOR="Red"]zero[/COLOR]**/Desktop/DNS_Backup

Change [COLOR="red"]zero[/COLOR] to your username.

the above command will save a file in your desktop that conatin the address of your DNS server, it's output should look like this:

# Generated by NetworkManager
nameserver 196.29.180.19
nameserver 196.29.164.29
#3

yes mr zero you are right i have to do backu

thank you for notice