DNS Server Configuration

Expert-defined terms from the Certified Professional in Domain Name System (DNS) course at London School of Business and Administration. Free to read, free to share, paired with a professional course.

Download PDF Free · printable · SEO-indexed
DNS Server Configuration

AAAA Record #

AAAA Record

Concept #

IPv6 address mapping for a host name. Related terms: A Record, IPv6, PTR Record. Explanation: An AAAA record stores the 128‑bit IPv6 address associated with a domain name. It allows DNS resolvers to return an IPv6 address when a client requests a host name. Example: `example.com. IN AAAA 2001:0db8:85a3::8a2e:0370:7334`. Practical application: configuring web servers to be reachable over IPv6. Challenges: ensuring the DNS zone file includes both A and AAAA records for dual‑stack environments, and verifying that firewalls and routers correctly handle IPv6 traffic.

A Record #

A Record

Concept #

IPv4 address mapping for a host name. Related terms: AAAA Record, IPv4, PTR Record. Explanation: The A record links a domain name to a 32‑bit IPv4 address. Example: `www.example.com. IN A 192.0.2.45`. This is the most common record type used by resolvers to locate web servers, mail servers, etc. Practical application: populating a DNS zone with host addresses for a corporate intranet. Challenges: maintaining consistency after IP address changes, and mitigating DNS cache poisoning by securing zone transfers.

Access Control List (ACL) #

Access Control List (ACL)

Concept #

A set of rules that define which clients may query or perform zone transfers. Related terms: TSIG, AXFR, Recursive Resolver. Explanation: In BIND and other DNS servers, an ACL is defined in the configuration file to restrict operations such as `allow-query`, `allow-transfer`, and `allow-recursion`. Example: `acl "trusted" { 192.0.2.0/24; 2001:db8::/32; };`. Practical application: limiting zone transfer to only secondary servers, thereby reducing exposure to unauthorized data extraction. Challenges: keeping ACLs up to date with network changes and avoiding overly permissive rules that weaken security.

Authoritative DNS Server #

Authoritative DNS Server

Concept #

A server that holds the definitive data for a DNS zone. Related terms: Primary DNS Server, Secondary DNS Server, SOA Record. Explanation: Authoritative servers answer queries using data stored locally, without consulting other servers. They are classified as master (primary) or slave (secondary). Example: Configuring BIND with `type master;` for a zone file. Practical application: providing reliable name resolution for a corporate domain, ensuring that email routing (MX records) and web services (A/AAAA records) are reachable. Challenges: synchronizing master and slave copies, handling high query volume, and protecting against DDoS attacks.

AXFR (Full Zone Transfer) #

AXFR (Full Zone Transfer)

Concept #

A DNS protocol operation that copies an entire zone from a primary to a secondary server. Related terms: IXFR, TSIG, Secondary DNS Server. Explanation: AXFR transmits the complete zone file over TCP, typically used when a secondary server is first added or when incremental updates are not possible. Example: `dig @primary.example.com example.com AXFR`. Practical application: initial population of a secondary server's database. Challenges: large zones cause long transfer times, and unsecured AXFR can expose the entire namespace to attackers; securing with TSIG is recommended.

BIND (Berkeley Internet Name Domain) #

BIND (Berkeley Internet Name Domain)

Concept #

The most widely used open‑source DNS server software. Related terms: named.Conf, zone file, Views. Explanation: BIND implements the DNS protocol, providing both authoritative and recursive services. It is configured via `named.conf` and per‑zone files. Example: `options { directory "/var/named"; };`. Practical application: deploying a DNS infrastructure for an ISP or large enterprise. Challenges: complex configuration syntax, performance tuning for high query rates, and staying current with security patches.

BIND Views #

BIND Views

Concept #

A feature that allows a single DNS server to present different data to different clients. Related terms: ACL, Split‑horizon DNS, Forwarder. Explanation: Views are defined in `named.conf` and use ACLs to select which clients see which zone data. Example: `view "internal" { match-clients { internal; }; zone "example.com" { type master; file "internal.db"; }; };`. Practical application: providing internal IP addresses to corporate users while exposing public IPs to the Internet. Challenges: maintaining consistency across views, ensuring that accidental data leakage does not occur, and managing increased configuration complexity.

Caching Resolver #

Caching Resolver

Concept #

A DNS server that performs recursive queries and stores responses for a configurable time. Related terms: TTL, Recursive Resolver, Negative Caching. Explanation: When a client asks a caching resolver for a name, the resolver follows the delegation chain to the authoritative server, caches the answer, and returns it to the client. Example: A typical ISP resolver at `8.8.8.8`. Practical application: reducing latency for end users and lowering query traffic to authoritative servers. Challenges: cache poisoning attacks, stale data due to insufficient TTL values, and ensuring that the resolver respects DNSSEC validation.

CNAME Record #

CNAME Record

Concept #

Canonical Name record that aliases one domain name to another. Related terms: A Record, AAAA Record, Alias. Explanation: A CNAME points a name to another name, causing the resolver to query the target name for the actual address. Example: `mail.example.com. IN CNAME mailhost.example.com.`. Practical application: simplifying management of multiple services that share a single IP address. Challenges: CNAME cannot coexist with other record types at the same label, and excessive chaining can increase query latency.

DNS Cache Poisoning #

DNS Cache Poisoning

Concept #

An attack that inserts false records into a resolver’s cache. Related terms: Negative Caching, TSIG, EDNS0. Explanation: By sending forged responses, an attacker can cause the resolver to cache malicious IP addresses, redirecting users to phishing sites. Mitigations include randomizing source ports, limiting response sizes, and enabling DNSSEC validation. Practical application: Security hardening for public resolvers. Challenges: Ensuring compatibility with legacy clients and balancing security with performance.

DNS Forwarder #

DNS Forwarder

Concept #

A server that forwards queries it cannot answer to another DNS server. Related terms: Recursive Resolver, Forwarding Zone, Split‑horizon DNS. Explanation: Forwarders simplify configuration by centralizing external name resolution. Example: `forwarders { 8.8.8.8; 8.8.4.4; };` in BIND. Practical application: corporate networks that route all DNS traffic through an internal server before reaching the Internet. Challenges: single point of failure, potential latency increase, and ensuring that forwarded queries are not altered by middleboxes.

DNSSEC (Domain Name System Security Extensions) #

DNSSEC (Domain Name System Security Extensions)

Concept #

A suite of extensions that provide data integrity and authentication for DNS. Related terms: RRSIG, KSK, DS Record. Explanation: DNSSEC adds digital signatures to DNS records, allowing resolvers to verify that responses have not been tampered with. Example: A signed zone contains `RRSIG` and `NSEC` records. Practical application: protecting against cache poisoning and man‑in‑the‑middle attacks for critical domains. Challenges: key management, increased zone size, and handling unsigned delegations.

EDNS0 (Extension Mechanisms for DNS) #

EDNS0 (Extension Mechanisms for DNS)

Concept #

An extension to the DNS protocol that allows larger UDP payloads and additional flags. Related terms: DNSSEC, UDP, Fragmentation. Explanation: EDNS0 adds an OPT pseudo‑record to queries, enabling payloads up to 4096 bytes and supporting features like DNSSEC and client subnet information. Example: A resolver sets `EDNS0` to negotiate larger responses. Practical application: avoiding truncation of large DNSSEC responses. Challenges: compatibility with older firewalls that block oversized UDP packets, and managing response size to prevent fragmentation attacks.

Glue Record #

Glue Record

Concept #

An A or AAAA record placed in a parent zone to resolve the name servers of a delegated zone. Related terms: NS Record, Delegation, Zone Cut. Explanation: When a child zone’s name servers are within the child’s own domain, the parent must provide glue to break the circular dependency. Example: `ns1.example.com. IN A 192.0.2.10` in the `.com` zone. Practical application: ensuring that resolvers can locate the authoritative servers for newly delegated domains. Challenges: keeping glue records synchronized with the actual server IPs, and dealing with stale glue after IP changes.

Hierarchical Namespace #

Hierarchical Namespace

Concept #

The structured tree‑like organization of domain names from the root down to leaves. Related terms: Root Zone, Domain, Zone. Explanation: DNS follows a hierarchy where each label represents a node in the tree. Example: `www.sales.europe.example.com` traverses from the root to the TLD `.com`, then to `example`, `europe`, `sales`, and finally `www`. Practical application: delegating authority at each level, enabling distributed management. Challenges: ensuring proper delegation, avoiding circular references, and managing large numbers of zones.

IXFR (Incremental Zone Transfer) #

IXFR (Incremental Zone Transfer)

Concept #

A DNS operation that transfers only the changes since the last known serial number. Related terms: AXFR, SOA Serial, TSIG. Explanation: IXFR reduces bandwidth usage by sending only added, deleted, or modified records. Example: A secondary server requests an IXFR after detecting a newer SOA serial. Practical application: Efficient synchronization of large zones with frequent updates. Challenges: Handling failed incremental transfers, ensuring that the primary server correctly logs changes, and falling back to AXFR when needed.

Key Signing Key (KSK) #

Key Signing Key (KSK)

Concept #

The DNSSEC key that signs the DNSKEY set of a zone. Related terms: ZSK, DS Record, Rollover. Explanation: The KSK is stored securely and used to sign the DNSKEY RRset, establishing a chain of trust from the parent zone. Example: Generating a KSK with `dnssec-keygen -a RSASHA256 -b 2048 -n ZONE example.com`. Practical application: delegating trust to a child zone via a DS record in the parent. Challenges: key management, secure storage, and scheduling rollovers without disrupting validation.

Load Balancing (DNS‑based) #

Load Balancing (DNS‑based)

Concept #

Distributing client requests across multiple servers using DNS responses. Related terms: Round‑Robin, Geolocation, Failover. Explanation: DNS can return multiple A or AAAA records for a single name, causing clients to select one based on implementation. IN A 192.0.2.10` and `www.example.com. IN A 192.0.2.11`. Practical application: increasing availability and scaling web services. Challenges: lack of client‑side health checking, DNS caching causing uneven distribution, and the need for more sophisticated solutions like Anycast or application‑layer load balancers.

Lame Delegation #

Lame Delegation

Concept #

A delegation where the parent zone points to a name server that is not authoritative for the child zone. Related terms: NS Record, Delegation, Zone Transfer. Explanation: When a resolver follows a delegation and contacts a server that returns a REFUSED or SERVFAIL, the delegation is considered lame. Example: `.com` NS record points to `ns1.unconfigured.com` which does not host the child zone. Practical application: detecting configuration errors during zone audits. Challenges: monitoring for lame delegations, preventing them from degrading resolution performance, and coordinating updates across parent and child zones.

Master Zone (Primary DNS Server) #

Master Zone (Primary DNS Server)

Concept #

The authoritative server that holds the original copy of a zone’s data. Related terms: Secondary DNS Server, AXFR, SOA Record. Explanation: The master is the source of truth; any changes are made here and propagated to slaves via zone transfers. Example: `zone "example.com" { type master; file "db.example.com"; };`. Practical application: central management of DNS records for a domain. Challenges: ensuring high availability of the master, protecting it from unauthorized modifications, and maintaining accurate serial numbers for proper synchronization.

Negative Caching #

Negative Caching

Concept #

Storing the fact that a name does not exist (NXDOMAIN) for a period defined by the SOA’s MINIMUM field. Related terms: NXDOMAIN, TTL, SOA Record. Explanation: When a resolver receives a negative response, it caches it to reduce repeated queries for non‑existent names. Example: After querying `nonexistent.example.com` and receiving NXDOMAIN, the resolver will not query again until the TTL expires. Practical application: reducing unnecessary traffic to authoritative servers. Challenges: stale negative entries after a name is created, and ensuring that the MINIMUM field is appropriately set to balance responsiveness with query load.

PTR Record (Pointer Record) #

PTR Record (Pointer Record)

Concept #

Maps an IP address to a domain name for reverse DNS lookups. Related terms: IN‑ADDR.ARPA, A Record, AAAA Record. Explanation: PTR records reside in the special reverse zones (`in-addr.arpa` for IPv4, `ip6.arpa` for IPv6). Example: `45.2.0.192.in-addr.arpa. IN PTR www.example.com.`. Practical application: verifying mail server identities (SPF checks) and troubleshooting network issues. Challenges: coordinating with ISP‑controlled reverse zones, and maintaining consistency between forward and reverse mappings.

Recursive Resolver #

Recursive Resolver

Concept #

A DNS server that performs the full query recursion on behalf of a client. Related terms: Caching Resolver, Forwarder, Root Servers. Explanation: Upon receiving a query, the resolver contacts root servers, follows delegations, and returns the final answer. Example: A public resolver like `1.1.1.1`. Practical application: providing end‑users with transparent name resolution without requiring them to know the DNS hierarchy. Challenges: handling large query volumes, protecting against amplification attacks, and implementing DNSSEC validation.

Root Servers #

Root Servers

Concept #

The authoritative name servers for the DNS root zone (`.`). Related terms: Root Zone, Root Hints, Anycast. Explanation: There are 13 logical root server identities (A‑M) operated by various organizations, each often distributed via Anycast for resilience. Example: `a.root-servers.net`. Practical application: the starting point for all recursive resolution processes. Challenges: ensuring global availability, mitigating DDoS attacks, and maintaining accurate root hints in resolver configurations.

RRset (Resource Record Set) #

RRset (Resource Record Set)

Concept #

A collection of records with the same name, type, and class. Related terms: RRSIG, DNSSEC, Round‑Robin. Explanation: DNS treats all records sharing these attributes as a single set, which can be returned in any order. Example: Three A records for `www.example.com`. Practical application: implementing simple load balancing and providing redundancy. Challenges: handling client expectations of order, and ensuring that all members of an RRset are signed consistently under DNSSEC.

RRSIG Record #

RRSIG Record

Concept #

A DNSSEC signature that authenticates an RRset. Related terms: DNSSEC, Key Signing Key, DS Record. Explanation: RRSIG contains the digital signature, algorithm, key tag, and validity period for a given RRset. IN RRSIG A 8 2 3600 20240101000000 20231201000000 12345 example.Com. FAKE...`. Practical application: enabling resolvers to verify the integrity of DNS data. Challenges: managing signature expiration, handling key rollovers, and dealing with increased zone file size.

SOA Record (Start of Authority) #

SOA Record (Start of Authority)

Concept #

The record that defines zone authority and contains essential metadata. Related terms: Serial Number, Refresh, Retry. Explanation: An SOA includes the primary master’s name, contact email, serial number, refresh interval, retry interval, expire time, and minimum TTL. IN SOA ns1.Example.Com. Hostmaster.Example.Com. (2023121501 7200 1800 1209600 3600)`. Practical application: controlling zone transfer behavior and TTL defaults. Challenges: updating the serial correctly to trigger proper IXFR/AXFR, and configuring appropriate timers to balance load and responsiveness.

Stub Zone #

Stub Zone

Concept #

A zone that contains only enough information to locate authoritative servers for another zone. Related terms: Forwarding, Resolver, NS Record. Explanation: A stub zone typically includes the NS records and their corresponding glue A/AAAA records for a delegated zone. Example: `zone "example.com" { type stub; masters { 192.0.2.53; }; file "stub/example.com.db"; };`. Practical application: reducing the amount of configuration needed for resolvers that need to reach specific zones. Challenges: ensuring stub zone data stays current, handling failures of the master stub server, and avoiding unnecessary recursion.

TSIG (Transaction Signature) #

TSIG (Transaction Signature)

Concept #

A mechanism that authenticates DNS messages using shared secret keys. Related terms: AXFR, IXFR, Key Management. Explanation: TSIG adds an HMAC signature to the DNS header, protecting zone transfers and dynamic updates from spoofing. Example: `key "rndc-key" { algorithm hmac-sha256; secret "Base64Secret=="; };`. Practical application: securing communication between primary and secondary servers. Challenges: key distribution, rotation, and the need for synchronized clocks to avoid replay attacks.

TTL (Time To Live) #

TTL (Time To Live)

Concept #

The duration a DNS record may be cached by resolvers. Related terms: Negative Caching, Cache, SOA Minimum. Explanation: TTL is specified in seconds; once expired, the resolver must fetch a fresh copy. Example: An A record with `TTL 3600` is cached for one hour. Practical application: controlling how quickly changes propagate through the Internet. Challenges: setting TTL too low increases query load, while setting it too high delays updates and can cause stale data.

Virtual DNS (vDNS) #

Virtual DNS (vDNS)

Concept #

A DNS service that runs in virtualized or cloud environments, offering dynamic scaling. Related terms: Anycast, Containerized DNS, Microservices. Explanation: VDNS instances can be deployed as virtual machines or containers, often behind load balancers, to provide high availability. Example: A Kubernetes‑based DNS service using CoreDNS. Practical application: Supporting multi‑tenant cloud platforms where each tenant requires isolated DNS zones. Challenges: Ensuring data consistency across instances, handling stateful zone transfers, and integrating with traditional on‑premises DNS infrastructure.

Wildcard Record #

Wildcard Record

Concept #

A DNS record that matches any subdomain name not explicitly defined. Related terms: CNAME, NXDOMAIN, Zone Apex. Explanation: The asterisk (`*`) label stands for any name. Example: `*.example.com. IN A 192.0.2.99`. Practical application: simplifying configuration for large numbers of subdomains (e.g., user‑generated URLs). Challenges: unintended matches causing security or branding issues, and interactions with DNSSEC which may affect wildcard validation.

Zone File #

Zone File

Concept #

A text file containing DNS records for a particular zone. Related terms: Master Zone, SOA Record, RRset. Explanation: Zone files follow a specific syntax, often beginning with an SOA record followed by NS, A, AAAA, CNAME, MX, and other records. Example: `db.example.com` containing `@ IN SOA ...`, `@ IN NS ns1.example.com.`, `www IN A 192.0.2.10`. Practical application: defining the authoritative data for a domain. Challenges: avoiding syntax errors, maintaining proper serial numbers, and managing large files with many records.

Zone Transfer (AXFR/IXFR) #

Zone Transfer (AXFR/IXFR)

Concept #

The process by which DNS servers synchronize zone data. Related terms: Primary DNS Server, Secondary DNS Server, TSIG. Explanation: AXFR copies the full zone, while IXFR sends incremental changes. Both use TCP for reliability. Example: A secondary server issuing `dig @primary example.com AXFR`. Practical application: keeping secondary servers up‑to‑date for redundancy and load distribution. Challenges: securing transfers, handling large zones, and ensuring that failed transfers do not leave slaves out‑of‑sync.

Zone Cut #

Zone Cut

Concept #

The point in the DNS hierarchy where authority is delegated to another zone. Related terms: Delegation, NS Record, Glue Record. Explanation: When a parent zone includes NS records for a child, the child zone becomes the authority for that subtree. Example: The `.com` zone delegating `example.com` via NS records. Practical application: distributing management responsibilities across organizations. Challenges: maintaining correct NS and glue records, avoiding circular delegations, and ensuring that the child zone’s SOA is reachable.

Zone Apex #

Zone Apex

Concept #

The root of a DNS zone, represented by the `@` symbol in zone files. Related terms: SOA Record, NS Record, Wildcard Record. Explanation: The apex holds the SOA and NS records for the zone. In BIND zone files, `@` denotes the zone name itself. Example: `@ IN SOA ns1.example.com. ( … )`. Practical application: centralizing authority information for the domain. Challenges: ensuring that the apex is correctly signed under DNSSEC and that glue records for the NS are present when needed.

Zone Transfer Security (TSIG, SIG0, DNS over TLS) #

Zone Transfer Security (TSIG, SIG0, DNS over TLS)

Concept #

Techniques used to protect the confidentiality and integrity of zone transfers. Related terms: TSIG, AXFR, IXFR. Explanation: TSIG provides message authentication; SIG0 offers similar functionality but is less common; DNS over TLS encrypts the entire session. Example: Configuring BIND with `tls-port 853;` and `tls-cert "/etc/pki/tls/certs/server.pem";`. Practical application: preventing unauthorized parties from harvesting entire zone data. Challenges: key management for TSIG, certificate management for TLS, and compatibility with legacy secondary servers.

Zone Serial Number Management #

Zone Serial Number Management

Concept #

The method of incrementing the SOA serial to indicate zone changes. Related terms: SOA Record, IXFR, AXFR. Explanation: The serial is typically formatted as YYYYMMDDNN, where NN increments for multiple changes in a day. Example: `2023121502`. Practical application: ensuring secondary servers detect updates and request incremental transfers. Challenges: avoiding wrap‑around, coordinating multiple administrators, and handling out‑of‑order updates that may cause slaves to reject newer data.

Anycast DNS #

Anycast DNS

Concept #

Deploying multiple DNS servers sharing the same IP address to improve latency and resilience. Related terms: Root Servers, Load Balancing, Virtual DNS. Explanation: Routers direct client queries to the nearest instance based on network topology. Example: The Cloudflare DNS service using anycast for `1.1.1.1`. Practical application: reducing query response times globally and providing DDoS mitigation. Challenges: synchronizing zone data across all nodes, handling stateful protocols like TCP for zone transfers, and monitoring health of each anycast instance.

EDNS Client Subnet (ECS) #

EDNS Client Subnet (ECS)

Concept #

An EDNS0 option that conveys the client’s subnet to authoritative servers for geo‑based responses. Related terms: EDNS0, Anycast, Load Balancing. Explanation: ECS adds the client’s IP prefix to the query, allowing the authoritative server to tailor answers (e.G., Returning the nearest CDN edge). Example: A resolver sending `EDNS0 Client Subnet 24 192.0.2.0`. Practical application: improving content delivery by providing location‑aware DNS responses. Challenges: privacy concerns, increased cache fragmentation, and ensuring that upstream resolvers support and correctly forward ECS data.

DNS over HTTPS (DoH) #

DNS over HTTPS (DoH)

Concept #

Transporting DNS queries via the HTTPS protocol to improve privacy and circumvent censorship. Related terms: DNS over TLS, EDNS0, Recursive Resolver. Explanation: DoH sends DNS messages as JSON or wire‑format payloads inside HTTPS POST/GET requests. Example: `https://dns.google/dns-query?name=example.com&type=A`. Practical application: preventing ISP‑level DNS manipulation and enabling encrypted DNS for browsers. Challenges: increased latency due to TLS handshake, reliance on third‑party DoH providers, and potential centralization of DNS traffic.

DNS over TLS (DoT) #

DNS over TLS (DoT)

Concept #

Encrypting DNS traffic using TLS on a dedicated port (853). Related terms: DoH, EDNS0, Recursive Resolver. Explanation: DoT establishes a TLS session before sending standard DNS queries, providing confidentiality and integrity. Example: Configuring a resolver with `tls-port 853` and pointing clients to `dns.example.com`. Practical application: protecting DNS from eavesdropping and tampering on public networks. Challenges: certificate management, compatibility with older clients, and handling of large DNSSEC responses within TLS record size limits.

Dynamic Updates (RFC 2136) #

Dynamic Updates (RFC 2136)

Concept #

The ability to add, delete, or modify DNS records on the fly without manual zone file editing. Related terms: TSIG, Primary DNS Server, DDNS. Explanation: Clients send UPDATE messages authenticated with TSIG to a server that permits changes. Example: `nsupdate -k /etc/bind/ddns.key` to add an A record. Practical application: DHCP servers automatically registering hostnames, or cloud platforms updating service records. Challenges: securing updates against unauthorized changes, handling transaction rollbacks, and ensuring that updated data propagates to secondary servers promptly.

DDNS (Dynamic DNS) #

DDNS (Dynamic DNS)

Concept #

A service that updates DNS records automatically when an IP address changes. Related terms: Dynamic Updates, TSIG, Client Hostname. Explanation: Often used by residential users with dynamic ISP‑provided IPs; a client runs a DDNS client that contacts a provider’s API to update a host name. Example: `no‑ip.com` providing `myhome.ddns.net`. Practical application: allowing remote access to home services despite changing IPs. Challenges: latency between IP change and DNS update, reliance on third‑party services, and ensuring secure authentication to prevent hijacking.

Stub Resolver #

Stub Resolver

Concept #

A minimal DNS client that forwards queries to a recursive resolver without performing recursion itself. Related terms: Recursive Resolver, Forwarder, Resolver Configuration. Explanation: Stub resolvers are typically part of operating systems; they know only the address of one or more recursive servers (e.G., `/etc/resolv.conf`). Example: a workstation configured with `nameserver 192.0.2.53`. Practical application: simplifying client configuration and centralizing DNS policy enforcement on the resolver. Challenges: dependence on the availability of the recursive server and limited ability to perform diagnostics locally.

EDNS0 UDP Payload Size #

EDNS0 UDP Payload Size

Concept #

The maximum size of a DNS response that can be transmitted over UDP, negotiated via EDNS0. Related terms: EDNS0, Fragmentation, DNSSEC. Explanation: The default is 512 bytes; EDNS0 can raise it to 4096 bytes, reducing the need for TCP fallback. Example: A resolver advertising `OPT` with a payload size of 4096. Practical application: accommodating large DNSSEC responses without truncation. Challenges: network devices that drop oversized UDP packets, and the risk of amplification attacks if response size is not properly limited.

Zone Delegation Best Practices #

Zone Delegation Best Practices

Concept #

Guidelines for creating reliable and secure delegations between parent and child zones. Related terms: NS Record, Glue Record, Lame Delegation. Explanation: Include at least two NS records on separate networks, provide up‑to‑date glue, and avoid circular dependencies. Example: Delegating `sub.example.com` with `ns1.sub.example.com` (glue) and `ns2.other.net`. Practical application: ensuring high availability and reducing latency for end users. Challenges: coordinating with external registrars, updating glue after IP moves, and monitoring for accidental lame delegations.

DNS Query Types Overview #

DNS Query Types Overview

Concept #

The different kinds of DNS queries defined by the protocol. Related terms: A Record, MX Record, ANY Query. Explanation: Common types include A, AAAA, CNAME, MX, NS, PTR, SOA, TXT, and SRV. An ANY query asks for all records of a name, though it is discouraged due to abuse potential. Practical application: Selecting the appropriate query type for specific services (e.G., MX for mail routing). Challenges: Handling large ANY responses, mitigating reflection attacks, and ensuring that DNSSEC signatures are returned for each type.

DNS Amplification Attack Mitigation #

DNS Amplification Attack Mitigation

Concept #

Strategies to prevent the use of DNS servers as reflectors in DDoS attacks. Related terms: Anycast, Rate Limiting, EDNS0. Explanation: Techniques include disabling recursion for external clients, limiting response sizes, and employing response rate limiting (RRL). Example: BIND’s `rate-limit` clause to cap responses per second. Practical application: protecting public DNS services from being abused. Challenges: balancing legitimate traffic needs with strict limits, and ensuring that security controls do not inadvertently block legitimate queries.

DNS Zone Signing Process #

DNS Zone Signing Process

Concept #

The steps required to apply DNSSEC signatures to a zone. Related terms: KSK, ZSK, RRSIG. Explanation: Generate ZSK and KSK, sign the zone with `dnssec-signzone`, publish DS record in the parent, and schedule regular key rollovers. Example: `dnssec-signzone -K keys -o example.com db.example.com`. Practical application: establishing a chain of trust for a public domain. Challenges: managing key lifecycles, handling increased zone file size, and ensuring that all resolvers validate signatures correctly.

DNS Server Performance Tuning #

DNS Server Performance Tuning

Concept #

Adjusting configuration parameters to optimize query throughput and latency. Related terms: Cache Size, Thread Count, Rate Limiting. Explanation: Parameters such as `max-cache-size`, `threads`, and `recursion‑clients` can be tuned based on hardware resources. Example: setting `max-cache-size 512M;` in BIND. Practical application: preparing a DNS server for high‑traffic events like product launches. Challenges: avoiding memory exhaustion, preventing thread contention, and monitoring for performance regressions after configuration changes.

DNS Logging and Auditing #

DNS Logging and Auditing

Concept #

Capturing DNS query and response data for troubleshooting and security analysis. Related terms: Query Logging, Syslog, Zone Transfer Logs. Explanation: Enable query logging (`logging { channel query_log { file "/var/log/query.log"; }; };`) and audit zone transfer attempts. Practical application: identifying malicious query patterns, diagnosing misconfigurations, and complying with regulatory requirements. Challenges: managing large log volumes, protecting log integrity, and ensuring that logging does not degrade server performance.

Reverse DNS Delegation #

Reverse DNS Delegation

Concept #

Delegating authority for IP address reverse lookup zones.

June 2026 intake · open enrolment
from £90 GBP
Enrol