
Explore the dns protocol essentials: zones, reverse zones, whois, dig, dns packet structure, history, and architecture. Learn securing dns, common errors, dns attacks, a bind dns walkthrough, and dnssec concepts.
Trace the history of the domain name system from hosts.txt and ip addresses to its birth, and explain the root to gTLD and ccTLD hierarchy managed by IANA and ICANN.
Discover dns architecture with authoritative servers and resolvers. See how a client queries example.com, uses dig to reach name servers, and how udp 53 and tcp zone transfers affect security.
Explore how a zone file on the authoritative server stores domain DNS records, TTL, and the serial with refresh settings, and review A, CNAME, MX, NS, TXT, PTR, and AAA.
Configure a reverse zone for the 190.168.1.0/24 block using the 1.168.192.in-addr.arpa file and a ptr record that maps the IP address to mail.acme.org.
Explore how whois queries reveal registered domains, registries, and registrars, showing domain statuses via EPP, such as clientUpdateProhibited and clientTransferProhibited, with examples like reddit.com.
Demonstrate how DNS packets are built and transported over UDP, detailing the header, question, answer, and additional sections, with the transaction ID and flags.
Understand how a recursive server validates a DNS response from the authoritative server by matching the source port, destination port, destination IP, and transaction ID, demonstrated with a Wireshark snippet.
Secure DNS management by using a generic admin contact, enforcing secure channels and MFA with the registrar, and avoiding open recursive servers.
Run BIND in a chroot jail, isolate the DNS service and restrict transfers with ACLs. Consider DNSSEC and split-horizon DNS with public acme.org and private acme.local, and disable local cache.
Follow RFC 1912 to avoid DNS configuration errors: keep billing and administrative contacts current, update NS IP only after registrar confirmation, validate changes with others, and use the BIND semicolon.
Track bad domains by monitoring typosquatting and using threat intel, WHOIS, and reverse WHOIS to identify registrants, then block suspicious domains including DGA patterns and apply RPZ policies.
Explore response policy zones (RPZs) as a DNS firewall on a recursive server. See how RPZs block bad domains and return NXDOMAIN, NO DATA, NO-OP, or Local Data.
Identify DNS server versions and technologies behind domains using dig and version.bind. Explore reverse DNS, PTR records, passive DNS history, and threat intelligence with tools like fpdns and Virustotal.
Expose common DNS attacks such as DNS-based DDoS, buffer overflow, DNS spoofing (cache poisoning), DNS amplification, domain hijacking, DNS tunneling, and the use of TXT records for covert channels.
Understand dns cache poisoning, where forged records in the additional section are cached by the recursive server to misdirect users, and how the bailiwick rule prevents this from outside authority.
Analyze how subdomain-based DNS cache poisoning works by flooding with imaginary subdomains, exploiting transaction IDs to corrupt recursion, and why closing open resolvers prevents this attack.
Explore DNS based denial of service, why UDP without handshakes enables DDoS, and how attackers impact providers; learn about three tools HPing3, LOIC, and netstress to test DNS resilience.
Analyze DNS amplification, a form of DDoS that uses small DNS queries to generate large responses from open resolvers, reflecting traffic to a target via spoofed addresses.
Configure Bind 9 recursive cache-only name server on Ubuntu, securing it with ACL and firewall, hiding its version, listening only on the internal 192.168.10.0/24 interface, and validate with dig.
Configure an authoritative dns server by defining the example.com master zone in named.conf.default-zones, creating db.example.com, and updating soa parameters; verify with named-checkconf and restart bind9.
Follow a practical BIND security checklist to harden DNS: disable recursion, run as an unprivileged user, enable rate limiting, apply ACLs, secure zone transfers, and enable logging.
Learn how dnssec authenticates dns responses by signing rrsets with a zone signing key, producing an rrsig, and verifying it with dnskey and trusted authorities using dig.
Verify the zone signing key with the key signing key, RRSet, and RRSIG. Update DS records via the registrar when KSK changes to maintain the root-level trust chain.
Explore TSIG, a secure, RFC 2845 protocol for authenticating dynamic DNS updates and zone transfers, using a shared secret, hash, and timestamp to protect updates, with clocks synchronized via NTP.
Thank you for attending the course; visit tznibae.com and LinkedIn for updates and feedback. Stay safe from physical diseases and virtual attacks.
Welcome to the "Comprehensive DNS Security and DNSSEC" course.
In this course, you will learn how the Domain Name System came to be, how it has evolved, how it works and how to make it secure. You will explore DNS functions, history, structure, architecture, and security.
You will learn the difference between an authoritative DNS server and a recursive DNS server.
You will understand what is a zone file and what is a reverse zone file.
You will see the most common attacks against DNS systems and how to secure your infrastructure.
You will understand BIND DNS configuration as a recursive server as well as as an authoritative server.
We will cover the techniques used to target DNS systems as well as those that take advantage of the DNS system to carry out a malicious activity. Examples include:
Fingerprinting the DNS
Distributed Denial-of-Service (DDoS) against DNS.
DNS Spoofing
DNS Amplification attacks
Cache poisoning
Domain hijacking
DNS Tunneling
You will learn to use different command line tools and utilities, such as whois, dig, hping3, fpdns, etc.
You will learn to read the DNS packet information, such as the header, the answer section, and the "additional information" section.
You will be able to understand filtering of incoming requests using Response Policy Zones, and how to track down malicious domains.
You will discover DNSSEC, the framework that is being adopted to sign and secure DNS communications. TSIG is also covered in this course.
This course will be kept updated with relevant material when the students ask for it. So, don't hesitate to leave a message. Feel free to suggest topics you’d like to understand more.