Back

networking

What Is DNS? How Domains Find IP Addresses

A beginner-friendly introduction to DNS, the system that turns domain names into IP addresses so your browser can find websites.

Published: Jul 15, 20264 min read

The short version

DNS, or the Domain Name System, is the internet’s contact list. It translates a name people can remember, such as iplyte.com, into an IP address that computers can use to connect.

Without DNS, you would need to remember an address such as 203.0.113.10 every time you wanted to visit a site. DNS lets you use names instead, while the network still routes traffic by IP address.

Takeaway: domain names are for people; IP addresses are for network connections; DNS links the two.

What happens when you open a website?

When you enter a domain in your browser, several small steps happen before the page begins loading:

  1. Your device checks whether it already knows the answer from its DNS cache.
  2. If it does not, it asks a DNS resolver, often provided by your ISP, router, company, or privacy service.
  3. The resolver finds the DNS records for that domain and returns an address, such as an IPv4 A record or IPv6 AAAA record.
  4. Your browser uses that IP address to open a connection to the website.
You type:      iplyte.com
DNS returns:   203.0.113.10
Browser goes:  https://203.0.113.10 (using the iplyte.com name for security)

The last line is deliberately simplified. Modern HTTPS checks the requested domain name as part of the secure connection, not just the IP address. This is one reason a web server can safely host many websites on the same IP.

DNS records you will see most often

  • A record: maps a domain name to an IPv4 address.
  • AAAA record: maps a domain name to an IPv6 address. Read more about IPv4 and IPv6.
  • CNAME record: points one domain name to another name, often used for subdomains such as www.
  • MX record: tells other mail servers where to deliver email for a domain.
  • TXT record: stores text-based configuration, commonly for domain verification, email security, and service setup.

Takeaway: DNS is more than a website directory. It also helps deliver email and prove ownership of online services.

DNS and IP addresses: what is the difference?

An IP address identifies a network destination. A domain name is a label that can point to one or more destinations. The same domain can return different IP addresses over time, or different answers in different regions, without people needing to change the address they type.

This flexibility helps services move infrastructure, distribute traffic, and recover from outages. It also means that an IP lookup and a DNS lookup answer different questions: an IP lookup explains an address, while DNS explains how a name is configured to reach an address.

One IP address can also serve many domains. This is normal for shared hosting, CDNs, and large platforms, so a reverse lookup from an IP to a domain is not always a reliable way to identify a specific website.

Why can DNS make a website feel slow or unavailable?

DNS answers are usually cached for a period called the TTL (time to live). Caching makes browsing faster and reduces load on DNS servers, but it can delay the visibility of a recent DNS change.

If a resolver cannot reach the right DNS servers, or receives an outdated answer, the browser may fail before it can even contact the website. In that situation, the website can be online while the domain still appears unavailable from your network.

Common checks include:

  • Confirm that the domain’s A or AAAA records point to the intended service.
  • Wait for the configured TTL after changing DNS records.
  • Try a different trusted resolver to determine whether the problem is local to one network.
  • Check that the website itself accepts requests for the domain after DNS resolves.

Privacy and security basics

Traditional DNS queries can reveal the domains your device is trying to visit to the network that provides the resolver. Encrypted DNS options, including DNS over HTTPS (DoH) and DNS over TLS (DoT), protect queries in transit between your device and a supporting resolver.

Encryption does not make a destination invisible to every party. Your browser still has to connect to the website, and a VPN, workplace network, or security tool can change which resolver you use. Use a resolver you trust, and be cautious with unexpected DNS changes: they can be a sign of a router, device, or network configuration problem.

Frequently asked questions

Is DNS the same as an IP address?
No. DNS is the system that looks up names, while an IP address is the network address returned for a service. A domain can have several IP addresses, and an IP address can host several domains.
Why does a domain point to more than one IP address?
Sites often use multiple servers for reliability, traffic distribution, and faster delivery in different regions. DNS can return more than one address so your device has a suitable destination to try.
Can I change my DNS server?
Usually, yes. Your device, browser, router, or organisation may allow you to choose a DNS resolver. Pick a trusted provider and remember that a managed work or school network may enforce its own DNS policy.

Wrap-up

DNS is the translation layer between familiar domain names and the IP addresses that make internet connections possible. Understanding the distinction makes it easier to troubleshoot websites, configure a domain, and recognise where a networking problem begins.