If you've ever wondered how typing a website address into your browser magically takes you to the right place, the answer lies in domains and DNS. This guide will explain these fundamental concepts in plain English, helping you understand how the internet finds and connects you to websites.
Key Insight: Think of DNS as the internet's phone book—it translates human-friendly website names (like expeed.com.au) into computer-friendly numbers (IP addresses) that computers use to find each other.
What Is a Domain Name?
A domain name is the human-readable address you type into your browser to visit a website. Instead of remembering a string of numbers like 203.45.67.89, you can simply type expeed.com.au.
Parts of a Domain Name
- Top-Level Domain (TLD): The last part (.au, .com, .org, .net). Country-specific TLDs like .au indicate the country.
- Second-Level Domain: Often indicates the type (.com for commercial, .org for organisations).
- Domain Name: The unique name you register (expeed, google, facebook).
- Subdomain: Optional prefix like "www" or "mail" that points to different services.
What Is DNS?
DNS stands for Domain Name System. It's the technology that converts domain names into IP addresses—the numerical addresses that computers use to identify each other on the internet.
Every device connected to the internet has an IP address (like 203.45.67.89 for IPv4 or 2001:0db8:85a3:0000:0000:8a2e:0370:7334 for IPv6). DNS makes the internet usable by letting us use memorable names instead of these numbers.
How DNS Works (Simplified)
- 1You type a URL
You enter "expeed.com.au" in your browser.
- 2Browser asks DNS resolver
Your browser asks a DNS resolver (usually provided by your ISP) for the IP address.
- 3Resolver queries DNS servers
The resolver works through a hierarchy of DNS servers to find the answer.
- 4IP address returned
The resolver returns the IP address to your browser.
- 5Browser connects
Your browser uses the IP address to connect to the website's server.
What Are Nameservers?
Nameservers are specialized servers that store DNS records for domain names. When you register a domain, you point it to specific nameservers that will respond to DNS queries about your domain.
How Nameservers Work
- • Your domain registrar stores your nameserver settings
- • Nameservers hold the DNS records for your domain
- • When someone looks up your domain, the nameservers provide the answer
- • Most domains have 2+ nameservers for redundancy
Example Nameservers
ns1.hostingprovider.com
ns2.hostingprovider.com
Nameservers are typically provided by your hosting company or DNS provider.
Nameservers vs DNS Records
Nameservers tell the internet where to find your DNS records. DNS records(stored on those nameservers) tell the internet what to do—which server hosts your website, which handles your email, etc.
Common DNS Record Types
DNS records are instructions stored on nameservers. Different record types serve different purposes:
A Record (Address)
Points a domain or subdomain to an IPv4 address. This is the most fundamental record type—it tells browsers where to find your website.
expeed.com.au → 203.45.67.89AAAA Record
Same as an A record, but for IPv6 addresses. As the internet transitions to IPv6, these are becoming more important.
CNAME Record (Canonical Name)
Points one domain to another domain (not an IP address). Useful for subdomains or pointing to services like cloud platforms.
www.expeed.com.au → expeed.com.auMX Record (Mail Exchange)
Specifies which servers handle email for your domain. Without correct MX records, you won't receive emails at your domain.
expeed.com.au → mail.expeed.com.au (priority 10)TXT Record
Stores text information. Commonly used for email authentication (SPF, DKIM, DMARC), domain verification, and security policies.
NS Record (Nameserver)
Specifies which nameservers are authoritative for a domain. These are typically set at your domain registrar.
Understanding TTL (Time to Live)
Every DNS record has a TTL value (measured in seconds) that tells other servers how long to cache (remember) the record before checking for updates.
Common TTL Values
- 300 (5 min): When you expect changes soon
- 3600 (1 hour): Common default for active sites
- 86400 (24 hours): For stable, rarely-changed records
Why TTL Matters
- • Lower TTL = faster propagation of changes
- • Higher TTL = better performance (less lookups)
- • Lower TTL before making changes, raise after
Pro Tip: If you're planning to change hosting providers or make DNS changes, lower your TTL values to 300 seconds a day or two before the change. This ensures the new settings propagate faster when you make the switch.
DNS Propagation
When you change DNS records, the changes don't take effect instantly worldwide. DNS propagation is the time it takes for DNS changes to spread across all servers on the internet.
- Propagation typically takes 15 minutes to 48 hours
- Different users may see different results during propagation
- Lower TTL values before changes speed up propagation
- Some ISPs cache more aggressively than others
Summary: Key Concepts
- 1Domain names are human-friendly addresses for websites
- 2DNS translates domain names to IP addresses
- 3Nameservers store and serve DNS records for your domain
- 4DNS records (A, MX, CNAME, etc.) define where to send traffic
- 5TTL controls how long DNS records are cached
- 6Propagation is the time for DNS changes to spread globally
Next Steps
Now that you understand domains and DNS, you're ready to learn about switching hosting providers—a process that relies heavily on proper DNS management.
Understanding domains and DNS is fundamental to managing your online presence. While these concepts can seem technical at first, they're really quite straightforward once you understand the basics. If you need help managing your domain or DNS settings, our team at Expeed Technology is here to assist.
