Opscraft
DNS

Name servers & SOA

Must-know8 lessons · 29 min · 3 tests ·

Name servers are where DNS answers actually come from. This topic covers the server roles (authoritative, recursive, forwarding), how zones are delegated from the root down through NS and glue records, every field of the SOA — Start of Authority — record, primary/secondary replication with zone transfers, and how Route 53 fits in: its four name servers, registrar updates, subdomain delegation across accounts, and multi-provider resilience. Interviewers often ask about the SOA record specifically — expect to explain each field and how it's used.

Stage 1 · Foundations

Know these first

After this topic you can

  • Explain delegation, NS records and the SOA record
  • Move a domain between DNS providers safely
  • Debug lame or broken delegation

Lessons

  1. 1Types of DNS servers 3 min read
    • Authoritative servers
    • Recursive resolvers
    • Forwarders and stubs
    • Comparison
  2. 2Zones, delegation and the namespace tree 6 min read
    • Domains vs zones
    • How delegation works
    • NS records live in two places
    • Glue records
    • Lame delegation
    • The registrar's role
  3. 3The SOA record in depth 4 min read
    • What it is
    • Field by field
    • Serial numbers
    • Negative caching from the SOA
  4. 4Primary, secondary and zone transfers 3 min read
    • Replication between authoritative servers
    • Zone transfers
    • Securing transfers
    • Route 53 and multi-provider DNS
  5. 5Route 53 name servers and registrars 4 min read
    • Four name servers per hosted zone
    • Connecting the registrar
    • Delegating subdomains across accounts
    • Private and public zones with the same name
  6. 6Operating authoritative DNS 3 min read
    • Migrating a zone from BIND (or another provider) to Route 53
    • DNS as code
    • Resilience and monitoring
  7. 7Troubleshooting delegation problems 3 min read
    • Tools
    • Symptoms and causes
  8. 8Interview questions and model answers 3 min read
    • "What is the SOA record and what are its fields?"
    • "What's the difference between authoritative and recursive DNS servers?"
    • "What are glue records and when do you need them?"
    • "I created a Route 53 hosted zone but the domain still uses the old DNS. Why?"
    • "Why does Route 53 give four name servers on different TLDs?"
    • "How do you let a team manage dev.example.com in their own account?"
    • "How would you protect against a DNS provider outage?"
    • "What is a lame delegation?"