Computer Networking Basics

What is the main role of DNS (Domain Name System)?

  1. AIt finds the MAC address of a device on the same network from its IP address
  2. BIt translates domain names such as www.example.com into the IP addresses used for communication (name resolution)
  3. CIt encrypts communication and verifies whether a connected website is genuine
Show answer and explanation

Answer: B. It translates domain names such as www.example.com into the IP addresses used for communication (name resolution)

DNS (Domain Name System) is the system that maps human-friendly domain names to the IP addresses used for communication. When you open a URL in a browser, the device first asks DNS for the server's IP address and then connects to that address. DNS data is not held on one server; it is divided by levels of the domain name hierarchy and managed in a distributed way by servers around the world. Queries mainly use UDP port 53, and TCP is also used, for example when responses are large.

  • A. That is the role of ARP.
  • B. Correct. It maps domain names to IP addresses.
  • C. That is the role of TLS (HTTPS).
Practice this topic Back to topic

Related calculators

Books on Computer Networking Basics Ad

As an Amazon Associate I earn from qualifying purchases.

More Computer Networking Basics questions

  1. A full-service resolver (caching DNS server) with an empty cache looks up the IP address of www.example.com. In what order does it query servers?
  2. When a device obtains an IP address with DHCP, what is the correct order of messages?
  3. Which of the following does HTTPS (HTTP protected by TLS) protect?
  4. In TLS, why can a browser conclude that the server it connects to is not an impostor?
  5. Roughly how long does it take to send a 100 MB file over a 100 Mbps link? Ignore overhead such as headers and latency, and take 1 MB = 10^6 bytes.