AlgoViz

Introduction to DNS

easy 25 min

DNS is the distributed database that turns names such as www.example.com into addresses computers can connect to.

What each level should show

The same question is judged differently for mid, senior and staff.

  • Mid

    Must show

    • Explains root, TLD and authoritative servers
    • Knows the common record types
    • Knows that a TTL delays changes

    Will be probed on

    • CNAME at the top of a zone
    • What a resolver does

    Stands out

    Lowers the TTL before a migration without being asked.

  • Senior

    Must show

    • Plans a migration with both sides running
    • Separates DNS steering from load balancing
    • Names the failure of the DNS provider

    Will be probed on

    • Uneven load from large resolvers
    • Clients that ignore the TTL
    • Dual-stack problems

    Stands out

    Gives a failover time as detection plus TTL plus a tail.

  • Staff

    Must show

    • Designs ownership of zones across teams
    • Weighs two DNS providers against complexity
    • Puts guard rails on changes

    Will be probed on

    • Dangling records and takeover risk
    • Audit and review of zone changes
    • Cost of short TTLs

    Stands out

    Treats DNS as a shared dependency with its own availability target.