Skip to content
Topic: DNS Record TypesSwitch

4.0 Network Services and Security

DNS Record Types Practice Questions

New in CCNA v2.0

Diagnosing A, AAAA, CNAME, MX, NS, and PTR records for host, web, and mail access by name.

CCNA v2.0 objective 4.4 · objective map

Author-reviewed by LabFabric · 25 September 2026 · Report a content issue

All 9 DNS Record Types questions in this set

Answers and explanations appear when you work through the set above.

  1. A web server should answer to both www.example.com and shop.example.com, which are aliases for host web1.example.com. Which record type creates an alias?

    • CNAME
    • MX
    • NS
    • PTR (reverse address mapping)
  2. Users can browse to a company site by name, but external senders report that email to the domain is not delivered. The A record is correct. Which record should be checked?

    • MX
    • PTR
    • CNAME for www
    • AAAA for www
  3. An MX record has the value '10 mail1.example.com' and another has '20 mail2.example.com'. Which server does a sender try first?

    • mail1.example.com, with the lower preference value
    • mail2.example.com, because the higher value is preferred
    • Both at once, because the values are equal weight
    • Neither, because MX records must contain IP addresses
  4. Which record type identifies the authoritative name servers for a DNS zone?

    • NS
    • A
    • MX
    • CNAME
  5. Which record type is used for a reverse lookup that returns a hostname for the IPv4 address 192.0.2.10?

    • PTR
    • A (forward IPv4 address lookup)
    • AAAA (forward IPv6 address lookup)
    • NS (authoritative server lookup)
  6. A user can ping a server at 203.0.113.25 successfully but cannot ping its name, server.example.com. What is the most likely problem?

    • Name resolution failure
    • Duplex mismatch
    • A missing default route on the server
    • A blocked TCP port 22
  7. Which command queries a mail exchanger record for example.com using nslookup?

    • nslookup -type=MX example.com
    • nslookup -mail example.com
    • nslookup /mx example.com
    • nslookup smtp example.com
  8. A host has IPv6 connectivity and both A and AAAA records exist for a site, but the AAAA record points to an address that is not reachable. What symptom is likely?

    • Site delays or failures if the client tries IPv6 first
    • The site loads faster because IPv6 is always preferred
    • The DNS server stops answering queries
    • The client's IPv4 address is removed
  9. Which IOS command sets the DNS server a router uses to resolve names?

    • ip name-server 192.0.2.53
    • ip dns server
    • dns-server 192.0.2.53
    • ip host server 192.0.2.53