DNS server configuration in Packet
DNS server configuration in Packet
22 Votes
A Domain Name System (DNS) server resolves host names into IP addresses. Although we
can access a network host using its IP address, DNS makes it easier by allowing us use
domain names which are easier to remember. For example its much easier to access google
website by typing http://www.google.com as compared to typing http://208.117.229.214. In
either case, you’ll access google website, but using domain name is obviously easier.
Now, before any host can use a DNS service, we must configure a DNS server first. For
example, when you type the URL http://www.google.com in your browser, the host will
query the DNS server for the IP address of http://www.google.com. The DNS server will
resolve http://www.google.com into an IP address then answer back the host with the IP
address.
Server
To do this, click on the server, then Click on Services tab. Click on DNS server from the
menu. First turn ON the DNS service, then define names of the hosts and their
corresponding IP addresses.
For example, to specify the DNS entry for PC0: In the name and address fields, type:
Click on add then save. Repeat this for the PC1 and the server.
Once you’re done, your DNS entries will look like this:
Finally,
4. Test domain name – IP resolution. Ping the hosts from one another using their names
instead of their IP addresses. If the DNS service is turned on and all IP configurations are
okay, then ping should work.
Hope you found this tutorial of use to you. Leave a comment in the comments section to help
improve it. Likes are welcome too.