The Internet world is configured with different types of servers and services to provide the uninterrupted networking services. Particularly the Doamin Name Service (DNS), it simply translates the hostname into ip address and vice vers. DNS plays a major role in the naming service. In this article i ll show how to set up and configure the public DNS (Domain Name Service). Here i am using the free Public DNS addresses. There are lot of public DNS addresses are available such as Google Public DNS, OpenDNS, DNSAdvantage and more.
Configuring your system with public DNS is very simple. You need to edit a configuration file “resolv.conf“. This is the file used in various operating systems (especially in GNU/Linux) to configure the DNS resolver library. It is a plain-text file usually created by the network administrator or by applications that manage the configuration tasks of the system. The resolv.conf file typically contains directives with the IP addresses of nameservers available to a host.
The Configuration file is located at /etc/resolv.conf. Open the file and add the DNS entry as show in the screenshot ( Click here to see the list of DNS ip addresses )
Finally save close the file. Now restart any internet clients you are using. Dont forget to test the public DNS Configuration.
You can also set the public DNS using GUI. Follow the simple steps to set up the public DNS ( here i am using ubuntu distro. )
1. In the System menu, click Preferences, then click Network Connections.
2. Select the connection for which you want to configure Google Public DNS. For example:
- To change the settings for an Ethernet connection, select the Wired tab, then select your network interface in the list. It is usually called eth0.
- To change the settings for a wireless connection, select the Wireless tab, then select the appropriate wireless network.
4. If the selected method is Automatic (DHCP), open the dropdown and select Automatic (DHCP) addresses only instead. If the method is set to something else, do not change it.
- For IPv4: 126.96.36.199 and/or 188.8.131.52.
- For IPv6: 2001:4860:4860::8888 and/or 2001:4860:4860::8844
7. Finally test that your setup is working correctly. Click here to test.
Follow us on Twitter
Follow us on Google+
- How to Install/Update Firefox in Ubuntu 14.04
- Install Teamviewer in Ubunut 14.04
- Sed command examples in linux
- 16 practical examples of grep command in linux
- 20 practical examples of Linux find command
- Secure SSH server on CentOS, Redhat, Ubuntu, Fedora
- How to change the port number of ssh server in linux
- Allow specific users to login via SSH
- Disable SSH password authentication in CentOS, Redhat Linux
- Setup SSH public key based authentication in CentOS, Redhat linux
- Block root login via SSH in Redhat, CentOS Linux
- Alternatives to adobe flash player in ubuntu linux
- Easy method to install Adobe Flash player in ubuntu linux
- Nagios : make: *** [check_http.o] Error 1 make: *** [all-recursive]
- Easy method to install Skype in CentOS 6.3, RHEL 6.3, Fedora 19
- Easy method to recover linux root password
- Easy method to install KDE in ubuntu 12.04
- How to disable selinux
- Change selinux to permissive
- How to check selinux status
- Get website details
- How to install nginx in ubuntu
- How to install nginx in RHEL 5
- How to install nginx in RHEL 6
- How to install nginx in centos 5