DNS Tutorial

The DNS tutorial understands the basics of DNS and practical analysis of where it is used.

DNS Tutorial

What is DNS

DNS stands for Domain name service. It is a TCP/IP protocol which works at the applicatio layer of the TCP/IP model. It uses a client server architecture , where there is a DNS client and a DNS server.

What is the use of DNS

DNS protocol is used for name resolution. TCP/IP networking works on IP addresses. When two parties wishes to communicate, the IP addresses has to be known. If either party is associated with a name, it has to be converted into an IP address before the communication and data can be exchanged. DNS protocol is used for the purpose.

How does DNS work

A typical DNS architecture would contain a DNS client and a DNS server. The DNS client would typically be the computer or device which requires name resolution functionality. DNS servers would contain the information related to the IP address of the requested server The IP address of the DNS server is configured on the TCP/IP adapter of the DNS client PC / device. DNS works on UDP port 80.


Examples.

A PC on the network needs to ping a device on the network using it’s name. In this case , a DNS server can be used, which would contain a record which would have the IP address and

Do I know this Quiz

1.On which port does DNS servers work.
2.Is DNS protocol used when a ping command is initiated to a domain name.
3.Where should the DNS server be configured on the DNS client system.
4.Does http protocol use DNS services.

Answers to the Do I know this Quiz

1. DNS servers work on UDP port 53
2.Yes, the DNS client would have the IP address of DNS servers configured on it , which would be used to resolve the domain name to the IP address.
3.The IP address of the DNS server should be configured on the TCP/IP adapter of the client.
4.http protocol as such does not use DNS service. But when a user types http along with the URL name on the browser, the TCP/IP protocol would resolve the domain into it’s IP address using DNS resolution.

Ebook Store – Click Here