What is DNS and why do we need it on a network?

DNS is like a telephone directory containing names, addresses, and telephone numbers. DNS is used on networks—both the internal networks of organizations and external networks across the internet. The DNS protocol is used to resolve hostnames (domain names) to IP addresses.

Before DNS, each computer contained a hosts file located in the C:\Windows\System32\drivers\etc directory. This file needed to be updated frequently to ensure that users were able to reach various websites or servers by specifying their hostnames or domain names. If the hosts file was not present, a user needed to specify the IP address of the server they would like to visit.

All devices on a network have an assigned IP address. ...

Get Learn Kali Linux 2019 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.