Skip to content

A+ Study Guide - DNS & DHCP

DNS Service

Domain Name Service/System - a global and highly distributed network service that resolves strings of letters into IP addresses for you.

  • Internal vs. external DNS - An organization might maintain an externally available authoritative-only DNS server to handle public DNS queries for the domains and zones that it handles. For its internal users, the organization might use a separate DNS server that contains the authoritative information that the public DNS provides, as well as additional information about internal hosts and services. It might also provide additional features, such as recursion and caching for its internal clients.
  • Third-party/cloud-hosted DNS - Third party DNS servers are name servers specifically configured so that anyone can use them. Most public DNS servers are available globally though anycast.
  • Hierarchy - DNS uses a hierarchy to manage its distributed database system. The DNS hierarchy, also called the domain name space, is an inverted tree structure, much like eDirectory. The DNS tree has a single domain at the top of the structure called the root domain. A period or dot (.) is the designation for the root domain. Below the root domain are the top-level domains that divide the DNS hierarchy into segments. Below the top-level domains, the domain name space is further divided into subdomains representing individual organizations.
  • Forward vs. reverse zone - A forward DNS lookup is when you resolve the IP address of a given domain. A reverse DNS lookup is when you want to resolve an domain name for a known IP address.

Record types

  • A - used to point a certain domain name at a certain IPv4 address
    • a single record is configured for a single domain name
    • a single domain name can have multiple records
  • AAAA (quad A) - used to point to a domain name at a certain IPv6 address
  • TXT (SPF - Sender Policy Framework, DKIM - DomainKeys Identified Email) - text - used to communicate configuration preferences
  • SRV - service record - used to define the location of specific services on a network
  • using host and port information
  • MX - mail exchange - used to deliver email to the correct server (only for mail services)
  • CNAME - canonical name - used to redirect traffic from one domain name to another.
  • NS - delegates a DNS zone to use the given authoritative name servers
  • PTR - pointer resource record - resolves an IP to a name

DHCP Service

Dynamic Host Configuration Protocol - an application layer protocol that automates the configuration process of hosts on a network.

  • MAC reservations - also DCHP reservation - static addressing approach where a specific MAC address is mapped to a specific IP address.
  • Pools - Scopes are also known as pools, can contain a range of IP address for a subnet, lease time and options for configuration.
  • IP exclusions - configuration option to exclude IP addresses from the scope you make available.

Scope options

OPTION TITLE DEFINITION
1 Subnet Mask Subnet Mask Value
3 Router Default Gateway addresses
4 Time Server Time server addresses
5 Name Server IEN-116 Server addresses
6 Domain Server DNS Server addresses
43 Vendor Specific Vendor Specific Information
82 Relay Agent Information Used to Identify Client Location
150 TFTP server address Used to Identify Voice Server/Gateway
  • Lease time - the amount of time in minutes or seconds that a network device can use an IP Address in a network.
  • TTL - a value in seconds that can be configured by the owner of a domain name for how long a name server is allowed to cache an entry before it should discard it and perform a full resolution again
  • DHCP relay/IP helper - DHCP relay is used to forward DHCP broadcast requests on LAN as a unicast packet to a central server, while ip helper-address is the command used to enable DHCP relay in routers.
  • NTP - Network Time Protocol - used to keep all computers on a network synchronized in times.
  • IPAM - IP address management - a means for planning, tracking and managing the IP address space used in a network. Integrates DNS and DHCP.