1. Home
  2. Explore
  3. Computer Science
  4. Domain Name System (DNS)

Study methods

Flashcards
Quiz
Fill in the blanks
Written test
Lesson
Notes
Podcast
Content

Domain Name System (DNS)

  • 52Unfamiliar
  • 0Learning
  • 0Familiar
  • 0Mastered
Topic: DNS Fundamentals
  • spaceFlip card
  • KI knew it
  • DI didn't know it
  • ←Previous card
  • →Next card

What does DNS do?

Tap to flipClick to flipspace

DNS (Domain Name System) translates domain names into IP addresses.

Or swipe the card

52 cards

  1. What does DNS do?

    DNS (Domain Name System) translates domain names into IP addresses.

  2. Why does a browser need DNS when visiting a website by name?

    The browser needs the server's IP address to connect to the website.

  3. What is a stub resolver?

    The DNS client on a user's computer that checks for a cached answer and sends DNS queries to a DNS server.

  4. What does a stub resolver check before contacting a DNS server?

    Its local DNS cache.

  5. How does a computer typically learn which DNS server to use?

    The DNS server is set in the computer's network configuration, often provided by DHCP.

  6. What is a recursive DNS resolver?

    A DNS server that finds an answer on behalf of a client, either from its cache or by querying other DNS servers.

  7. How can a recursive resolver answer a query without contacting other DNS servers?

    It can return a matching answer from its cache.

  8. What is a DNS zone file?

    A collection of DNS records containing information about a domain.

  9. What is the role of the root servers in DNS resolution?

    They direct resolvers to the DNS servers responsible for a requested top-level domain.

  10. What is a top-level domain (TLD)?

    The final label in a domain name, such as .com, .net, or a country-code ending like .jp.

  11. What information does a root server provide when asked about a TLD?

    A referral to the DNS servers authoritative for that TLD.

  12. What is a TLD server responsible for in a DNS lookup?

    Providing referrals to authoritative DNS servers for domains registered under that TLD.

  13. What is a second-level domain (SLD)?

    The domain label directly to the left of the TLD, such as networkchuck in networkchuck.com.

  14. What is an authoritative DNS server?

    A DNS server responsible for providing the official DNS records for a domain or zone.

  15. What is the usual sequence of servers involved in a cache-miss DNS lookup?

    The recursive resolver queries a root server, then a TLD server, then the domain's authoritative server.

  16. What does the authoritative server return when it knows the requested hostname's IP address?

    The DNS record containing the IP address.

  17. What is a subdomain?

    A domain label placed to the left of a second-level domain, such as academy in academy.example.com.

  18. How many named root-server identities are there, and how are they operated?

    There are 13 named root-server identities, operated by 12 organizations and supported by many distributed server instances.

  19. Why does a recursive resolver query multiple DNS servers instead of asking one server for every detail?

    DNS information is delegated through a hierarchy, with different servers responsible for different levels.

  20. How can DNS queries expose browsing activity when sent without encryption?

    Observers on the network, including an internet service provider, may be able to read the queried domain names.

  21. What is DNS spoofing?

    Sending a false DNS response that maps a requested domain name to an incorrect IP address.

  22. What transport and port are commonly used for traditional DNS queries?

    UDP port 53.

  23. What is DNS over HTTPS (DoH)?

    A method of sending DNS queries over an encrypted HTTPS connection.

  24. What must be true for a client to use DoH successfully?

    The client and the DNS resolver it contacts must both support DoH, and it must be enabled on the client.

  25. Why can DoH traffic be harder to identify in a network capture than traditional DNS traffic?

    It travels within HTTPS traffic rather than appearing as ordinary DNS traffic on UDP port 53.

  26. What is DNS over TLS (DoT)?

    A method of protecting DNS queries with Transport Layer Security (TLS) encryption.

  27. What is DNSCrypt?

    A protocol designed to encrypt and authenticate DNS communication.

  28. How does DNSSEC differ from DoH and DoT?

    DNSSEC helps validate the authenticity and integrity of DNS data; it does not itself encrypt DNS queries.

  29. How can a DNS resolver help prevent access to known malicious websites?

    It can use DNS filtering to block or refuse to resolve domains identified as threats.

  30. What does an A record map a domain name to?

    An IPv4 address.

  31. What does an AAAA record map a domain name to?

    An IPv6 address.

  32. What information does an NS record provide?

    The name of a DNS server authoritative for a domain or zone.

  33. What is the purpose of an MX record?

    It identifies the mail servers that handle email for a domain.

  34. What does a PTR record do?

    It maps an IP address back to a domain name for reverse DNS lookup.

  35. What is a CNAME record used for?

    It creates an alias from one domain name to another canonical domain name.

  36. What kind of information can a TXT record contain?

    Text associated with a domain, including information used for domain verification and email security.

  37. How do SPF records help protect email?

    They specify which mail servers are authorized to send email for a domain.

  38. What is the purpose of DKIM in email security?

    DKIM helps verify that an email was not altered in transit and is associated with an authorized domain.

  39. What role does DMARC play in email security?

    It lets a domain specify policies for handling email that fails SPF or DKIM checks.

  40. What is ICANN?

    The Internet Corporation for Assigned Names and Numbers, an organization involved in coordinating and governing parts of the domain-name system.

  41. What is a domain registrar?

    An accredited organization through which people can register domain names.

  42. How is a domain registrar different from an authoritative name server?

    A registrar registers the domain; an authoritative name server hosts the domain's DNS records and answers queries about them.

  43. What does a domain owner typically provide to a registrar when choosing external name servers?

    The names of the authoritative name servers to use for the domain.

  44. What is the role of a TLD registry in domain-name delegation?

    It maintains information, including name-server delegations, for domains registered under that TLD.

  45. What is the WHOIS database used for?

    It provides registration information associated with domain names, such as information about the registrant.

  46. How can a domain owner reduce public exposure of registration details?

    Use a domain privacy service offered through the registrar, where available.

  47. Can a domain be registered with one company and use another company's DNS servers?

    Yes. The registrar and authoritative DNS provider do not have to be the same organization.

  48. What is an upstream DNS server in a home or local DNS setup?

    A DNS server that a local resolver contacts when it cannot answer a query from its own cache or data.

  49. What can a local recursive DNS server do for devices on a home network?

    Cache DNS answers and query upstream DNS servers when an answer is not cached.

  50. How can a local DNS server block advertisements or unwanted domains?

    It can apply DNS filtering rules that block or refuse to resolve selected domains.

  51. What is one benefit of configuring multiple upstream DNS resolvers?

    A local DNS server can have alternatives to query if one upstream resolver is unavailable.

  52. How does a DNS cache improve repeated lookups?

    It lets a resolver reuse a previously learned answer instead of querying other DNS servers again.

Card 1 of 52
Card 1 of 52

Ask anything

We've read this whole study set, so questions about it get the best answers.

FlashcardsQuizFill in the blanksWritten testLessonNotesPodcastContent