Configuring DNS settings in network connection
Discuss the things to keep in mind while configuring DNS settings in a network connection.
Domain Name Server (DNS) is an Internet service that is used for translating domain names into IP addresses. As we type the address of a webpage that is similar to a name, the DNS server only converts it into its correct IP address. The function of a DNS server is similar to a phone book. It stores both the webpage address and its equivalent IP address. DNS uses a wide range of database to store the details. DNS itself has a networking. All DNS servers are arranged according to a hierarchy. The top level of the hierarchy is known as “root servers”. It stores the complete database of domain names and their IP addresses. If a desired web address is not present on a DNS server, it will seek the help of other DNS servers for getting that address. We can easily configure the DNS settings.
Following details give users more information on configuring DNS settings:
- DNS Server Configuration
- DNS Client Configuration
- Points To Remember
DNS Server Configuration
First click on the ‘Start’ button and select ‘Control Panel’. Then open the ‘Network Connections’ by double clicking on it. Then right click on ‘Local Area Connection’ and select ‘Properties’. A ‘Local Area Connection Properties’ dialog box will appear. Then click on ‘Internet Protocol (TCP/IP)’ and select its properties. Then click on ‘Obtain an IP Address Automatically’ and also select ‘Obtain DNS Server Address Automatically’. If the system is using a static IP address, select ‘Use the Following DNS Server Addresses’ and enter the IP address of the DNS server.
DNS Client Configuration
To configure the client, modify the ‘/etc/nsswitch.conf’ on the router page. Then modify the host line as hosts: files dns. It means that the system will first look up a name in the “/etc/hosts” file. If the DNS has used it, the name will not be there. Then set up the “/etc/resolv.conf” file. Then it will obtain the correct server name. Finally, enter the two commands “domainname flibble.orac.net.au” and “domainname > /etc/defaultdomain” to complete the DNS client configuration.
If the DNS server configuration is over, we have to test it. For this, we can use the “/usr/local/sbin/nslookup” tool. The DNS server can be tested by debugging the information sending USR 1 signal via kill. Then it will check the DNS server for any kind of errors. It will start tracing the behavior of the server and it will write the records into the file /var/named/named.run. For testing the client side, we can use the “nslookup” tool. Also we need to use “WS_Ping” to test the set-up.
iYogi is the fastest growing online and remote tech support provider in the direct-to-consumers and small businesses sector. Our highly skilled and experienced tech experts available, 24x7x365 will provide the best issue resolution and customer satisfaction. Our award winning and low priced Annual Subscription covers the following services:
- Comprehensive support for configuring DNS settings
- Diagnostic & repair for your technologies.
- Troubleshoot software errors.
- Update drivers and security to protect against online threats.
- Connect to Internet, devices and peripherals.
- Optimize your computer’s speed and performance.
Unlimited access to great tech support, all year around! We promise the lowest wait-time and highest resolution rate in the industry.