Curso interativo
DNS: dos fundamentos à segurança
Um curso progressivo sobre o Sistema de Nomes de Domínio: da hierarquia de nomes e resolução recursiva a operações, DNSSEC, privacidade e defesa de infraestrutura.
Entenda como o DNS funciona e como protegê-lo, da consulta à cadeia de confiança.
01 · Módulo 1 — Fundamentos e hierarquia
Nomes, hierarquia, atores do DNS e diferença entre resolução recursiva e iterativa.
- 1.1Why DNS existsDNS maps names to distributed data; it is neither one central address book nor a security protocol.~10 min
- 1.2The namespaceLabels, domains, FQDNs, the root, and reading names from right to left.~10 min
- 1.3Clients, resolvers, and authoritiesThe roles of a stub resolver, recursive resolver, and authoritative server.~12 min
- 1.4Recursion and iterationWho performs the lookup and how responses change along the way.~12 min
02 · Módulo 2 — O caminho da resolução
Raiz, TLDs, delegações, referências e rastreamento de uma consulta do início ao fim.
- 2.1Root servers and root hintsWhere iterative resolution starts and what root servers actually do.~10 min
- 2.2TLDs and delegationHow a parent points to a child’s name servers and how to follow that delegation.~12 min
- 2.3NS and glue recordsNS records, circular dependencies, and address glue in the additional section.~12 min
- 2.4Reading a DNS traceFollow a complete lookup and distinguish a referral from the final answer.~15 min
03 · Módulo 3 — Registros e zonas
Registros principais, RRsets, zonas autoritativas e leitura prática de zonas.
- 3.1Records, RRsets, and TTLsOwner name, type, class, TTL, and value—and why records are handled in sets.~12 min
- 3.2A, AAAA, CNAME, and PTRAddress records, aliases, and reverse lookups: their meaning and limits.~14 min
- 3.3MX, TXT, NS, and SOAMail routing, text metadata, authority, and zone parameters.~14 min
- 3.4Reading a complete zoneThe apex, relative names, SOA serial, and configuration consistency.~15 min
04 · Módulo 4 — Cache, TTLs e erros
Cache positivo e negativo, respostas DNS e método de diagnóstico de falhas comuns.
- 4.1Caching and expirationRemaining TTL, resolver caches, and why changes do not take effect everywhere at once.~12 min
- 4.2NXDOMAIN and NODATATell a missing name from a missing record type, and understand negative caching.~12 min
- 4.3RCODEs and SERVFAILWhat NOERROR, NXDOMAIN, REFUSED, and SERVFAIL tell you—and what they do not.~12 min
- 4.4A methodical diagnosisSeparate cache, resolver, delegation, and authority with ordered checks.~15 min
05 · Módulo 5 — Protocolo e ferramentas
Mensagens DNS, transporte e interpretação da saída de ferramentas de diagnóstico.
06 · Módulo 6 — Ameaças e endurecimento
Modelagem de ameaças, resolvedores abertos, envenenamento de cache e rebinding.
- 6.1The DNS attack surfaceProtect registrars, authorities, resolvers, and network paths with proportionate controls.~12 min
- 6.2Spoofing and cache poisoningHow a forged answer can contaminate a cache and how resolvers reduce the risk.~14 min
- 6.3Open resolvers and AXFRReduce abuse and amplification; allow zone transfers only to authorized secondaries.~14 min
- 6.4DNS rebinding and defensesUnderstand the risk to browser-reachable services and controls for internal systems.~14 min
07 · Módulo 7 — DNSSEC e a cadeia de confiança
Autenticidade e integridade, registros DNSSEC e estados de validação.
- 7.1DNSSEC goals and limitsOrigin authentication and data integrity; DNSSEC does not encrypt queries.~12 min
- 7.2DNSKEY and RRSIGPublic keys and signatures associated with a zone’s published RRsets.~14 min
- 7.3DS and the chain of trustConnect parent and child zones and follow validation from the root down.~15 min
- 7.4Secure, insecure, and bogusInterpret validation states and diagnose a broken chain.~15 min
08 · Módulo 8 — Operações DNSSEC
Assinatura, rotação de chaves, falhas comuns e procedimentos operacionais seguros.
- 8.1Signing and publishing a zoneSignatures, timing, consistent publication, and checks before activation.~15 min
- 8.2KSK, ZSK, and rolloverKey roles, coordinated changes, and rollover windows.~15 min
- 8.3Expiration and recoveryDiagnose expired signatures and mismatched DS records; monitor and recover.~15 min
09 · Módulo 9 — Privacidade e transporte criptografado
DoT, DoH e minimização de consultas: diferentes proteções complementares.
- 9.1What information a query exposesWhat can be observed along the path, the resolver’s role, and encryption limits.~12 min
- 9.2DoT and DoHDNS over TLS and DNS over HTTPS: transport protection and resolver choice.~15 min
- 9.3QNAME minimisationReduce the names exposed to authoritative servers during resolution.~14 min
10 · Módulo 10 — Segurança de serviços e projeto
DNS para e-mail e certificados, monitoramento e auditoria defensiva de domínio.
- 10.1SPF, DKIM, and DMARCHow DNS records support email authentication and what their limits are.~15 min
- 10.2CAA and DANEDeclare certificate-issuance policy and understand TLSA/DANE and DNSSEC dependence.~15 min
- 10.3Project: a defensive DNS auditReview a training domain and justify evidence, impact, priority, and fixes.~20 min
11 · Módulo 11 — Operações autoritativas
Servidores primários e secundários, transferências de zona e atualizações dinâmicas.
- 11.1Primary, secondary, and NOTIFYSynchronize authoritative copies with SOA serials, NOTIFY, and transfer controls.~15 min
- 11.2AXFR, IXFR, and TSIGFull and incremental transfers, server authentication, and peer restrictions.~16 min
- 11.3Dynamic updatesDNS UPDATE, authorization, signing, and credential protection.~15 min
12 · Módulo 12 — Registros e nomes avançados
Registros de descoberta de serviço, aliases modernos, wildcards e delegações reversas.
- 12.1SRV records and service discoveryPriority, weight, port, and target: publish where a service lives without confusing it with an A record.~14 min
- 12.2SVCB and HTTPS recordsHow clients can discover connection parameters and alternatives through DNS.~16 min
- 12.3Wildcards, DNAME, and reverse DNSWildcard behavior, subtree substitution, and in-addr.arpa/ip6.arpa delegations.~16 min
13 · Módulo 13 — DNSSEC avançado
Provas de não-existência, gerenciamento automatizado de confiança e integridade.
- 13.1NSEC, NSEC3, and negative proofsValidate that a name or type does not exist, and understand what proofs may reveal.~16 min
- 13.2Trust anchors and automated rolloverKey and DS update mechanisms, checks, and rollback during a transition.~16 min
- 13.3ZONEMD and zone integrityUse an authenticated digest to detect differences or corruption among zone copies.~14 min
14 · Módulo 14 — Privacidade DNS avançada
DNS sobre QUIC, proxies Oblivious e o trade-off de geolocalização do ECS.
- 14.1DNS over QUICEncrypted DNS transport over QUIC, connection properties, and differences from DoT and DoH.~15 min
- 14.2ODoH and DDRSeparate client and resolver with a proxy and discover encrypted DNS options securely.~17 min
- 14.3EDNS Client Subnet and geolocationWhy a resolver may share part of a client address and what trade-off that creates.~15 min
15 · Módulo 15 — Detecção de abusos no DNS
Sinais de tunneling e DGA, registros pendentes e políticas de filtragem defensáveis.
- 15.1DNS tunneling and DGAsRecognize unusual patterns and use them to start an investigation, not as proof by themselves.~16 min
- 15.2Dangling records and subdomain takeoverHandle aliases to retired services and reduce risk through inventory and controlled decommissioning.~15 min
- 15.3DNS filters, sinkholes, and RPZApply traceable, reversible DNS policies while considering false positives and DNSSEC.~15 min
16 · Módulo 16 — Resiliência e operações
Redundância real, uso limitado de dados obsoletos e resposta a incidentes.
- 16.1Redundancy, secondaries, and anycastAssess name server independence, shared failure modes, providers, and anycast routing.~16 min
- 16.2Serve-stale and data freshnessBalance service continuity against the risk of reusing expired answers.~15 min
- 16.3Monitoring and incident responseCorrelate signals from multiple vantage points, follow a runbook, and verify recovery.~17 min