DNS Security Assessment
Review authoritative records, delegation, transfer controls, DNSSEC, email policy, and operational monitoring.
On this page · 5 sections
Service model & trust boundary
This guide treats authoritative and recursive DNS services as a control boundary rather than a list of attack commands. First document who owns it, who should reach it, what identity context applies, and which data or downstream systems it can affect.
- Confirmed asset owner and in-scope address or application.
- Expected clients, identities, and network zones.
- Protocol versions, encryption expectations, and authentication mode.
- Sensitive data classes and downstream dependencies.
- Monitoring owner, escalation contact, and agreed stop threshold.
Discovery & baseline
- 01
Identify authoritative nameservers and the organization responsible for each zone.
- 02
Collect A, AAAA, CNAME, MX, NS, TXT, CAA, SOA, and DNSSEC context.
- 03
Separate public authoritative service from internal recursive resolvers.
- 04
Check for wildcard records, stale delegation, and unexpected external dependencies.
dig +short NS example.com
dig +short MX example.com
dig +short TXT example.com
dig +short CAA example.com
dig +dnssec example.com SOAControlled validation
A useful result demonstrates a broken security expectation with a reversible, low-impact test. Scanner labels and version matches are leads; validate the actual control and preserve the clean baseline beside the changed request.
- 01
Confirm zone transfers are restricted using a designated test zone or explicit approval.
- 02
Verify recursion is unavailable to untrusted networks.
- 03
Review DNSSEC chain status and key-rotation ownership.
- 04
Validate SPF, DKIM selectors, DMARC alignment, and CAA against documented mail and certificate providers.
Evidence & detection
ASSET / ENDPOINT:
SCOPE REFERENCE:
IDENTITY / NETWORK ZONE:
BASELINE:
CONTROL TESTED:
EXPECTED RESULT:
OBSERVED RESULT:
TIMESTAMP / REQUEST ID:
SANITIZED EVIDENCE:
STOP / CLEANUP STATUS:- Monitor new records, delegation changes, certificate-related records, and unusual query volume.
- Preserve resolver and authoritative logs according to privacy policy.
- Alert on unexpected dynamic updates and high-risk record changes.
Keep raw data only when it is necessary to reproduce the finding. Redact credentials, session values, customer content, internal addresses, and personal data before evidence enters a ticket or report.
Remediation & retest
- Restrict recursion and zone transfers.
- Remove stale records and dangling delegations.
- Use controlled DNS change workflows with review and rollback.
- Monitor DNSSEC validity and email-authentication policy drift.