BreachHunter
Pricing Blog Log inSign up
● thermal huntscan engines onlineassessment only — no exploits
  1. Home
  2. Blog
  3. DNS Zone Transfer Open (AXFR): Handing Out Your Entire DNS Map

Guides · ← All guides

DNS Zone Transfer Open (AXFR): Handing Out Your Entire DNS Map

Published: November 14, 2026 · Last reviewed: November 14, 2026 · 6 min read

By the Ingenious AI team

The short answer: A zone transfer (AXFR) is how nameservers copy an entire DNS zone from a primary to a secondary — the whole record set in one answer. It is meant to work only between your own nameservers. If a server answers an AXFR request from anyone, it hands that stranger your complete DNS map: every subdomain (including the internal and staging names nobody links), mail exchangers, verification tokens and service records. BreachHunter's advanced recon includes a dedicated zone-transfer module that asks each of your nameservers the question and reports any that answer.

Run a free BreachHunter assessment on your site →

Most DNS findings are about a single bad record. This one is about all of them at once. A misconfigured nameserver with unrestricted transfers converts an attacker's subdomain discovery — normally a research project across certificate logs and wordlists — into a single query with a complete, authoritative answer.

This guide explains what a zone contains beyond the obvious (the TXT records alone are an inventory of your SaaS tooling), how the check attempts transfers from each authoritative server, and the standard fix: transfers restricted to named secondary servers, by IP and ideally by TSIG key — tested from outside afterwards, because “we set it” and “it refuses strangers” are different claims.

What is inside a zone, read with an attacker's eyes?

A and AAAA records enumerate infrastructure: origin servers behind the CDN (the direct IPs your edge was hiding), VPN gateways, internal portals with public names. CNAMEs map your third-party estate — the takeover candidates from the dangling-record problem, pre-listed. MX records name your mail provider and its filtering service. And TXT records are a confessional: SPF includes naming your senders, domain-verification strings naming every SaaS tool you have connected, and occasionally legacy notes an admin left in a record a decade ago.

None of this makes a record wrong to publish — DNS is a public system, and most records are public by design. The zone transfer's offense is completeness and convenience: it delivers the set in one authoritative bundle, including the records whose obscurity was (however unwisely) part of their protection, like the unlinked staging name or the pre-launch service. Recon is the phase attackers spend time on; AXFR is how a misconfiguration donates that time back.

Restricting transfers, and proving it from outside

The configuration pattern is uniform across servers (BIND's allow-transfer, and equivalents in every major nameserver and hosted DNS): transfers permitted only from the secondary servers' IPs, everything else refused or silently dropped, with TSIG-signed transfers as the stronger form where both ends support it. Hosted DNS providers generally restrict by default — which makes an open AXFR a fingerprint of self-hosted or legacy DNS, often on infrastructure nobody has audited since it was stood up.

Proof is a query away, and it is the same one the recon module runs: request a transfer of your zone from each authoritative nameserver from an unrelated network and confirm refusal. Test every server — primaries and secondaries are configured separately, and the finding commonly lives on exactly one forgotten secondary. Then fold the check into the infrastructure review cadence, because DNS servers get rebuilt and defaults return.

Worked example: canyonridge.example

Canyon Ridge Winery had run its own nameservers since the 2000s, through three website redesigns that never touched DNS. The assessment's zone-transfer module asked the secondary — a server whose only job for a decade had been redundancy — for the zone, and received all 214 records, including the internal inventory system, the not-yet-launched wine-club portal, and the VPN gateway's name.

AXFR canyonridge.example @ns2.canyonridge.example
  -> TRANSFER SUCCEEDED (214 records) from unauthenticated requester
  Finding: zone transfer open on ns2 (ns1 correctly refused)

The winery's fix was the textbook one: transfers restricted to the two nameservers' addresses on both boxes (the primary had been right for years; the secondary had simply never been configured), TSIG keys added, and the internal names reviewed — two were moved to split-horizon DNS so they stopped being published at all. Retest showed refusals from both servers, and the DNS pair joined the winery's annual infrastructure review with the check written into it.

The five actions to take

Closing the zone-transfer door:

  1. Test every authoritative nameserver from outside your network with a real AXFR request — one open server is the finding.
  2. Restrict transfers to your secondaries' IP addresses; add TSIG keys where both ends support them.
  3. Review what the zone publishes: internal names belong on split-horizon/internal DNS, not in the public zone at all.
  4. Inventory TXT records while you are there — verification strings for dead services should be deleted, not archived in DNS.
  5. Add the AXFR probe to the infrastructure review cadence and after any DNS migration or server rebuild.

Run a free BreachHunter assessment on your site →

Frequently asked questions

Is DNS not public anyway? What does AXFR add?

Individual records are public, one query at a time — and several classes (unlinked names, internal portals) are effectively unfindable without knowing they exist. A zone transfer removes the “knowing” requirement by delivering the complete set, which is precisely the recon shortcut defenders close.

We use a hosted DNS provider. Are we safe?

Almost certainly on this specific check — major providers restrict transfers by design. The finding lives overwhelmingly on self-hosted and legacy nameservers. The one-minute test in the checklist confirms it either way, and confirmation beats assumption.

What is TSIG and do we need it?

TSIG signs zone transfers with a shared key, so servers authenticate each other cryptographically rather than trusting source IPs alone (which can be spoofed on some paths). IP restriction is the baseline fix; TSIG is the recommended hardening for self-hosted DNS.

Can an open AXFR be used to change our DNS?

No — transfers are read-only copies. The risk is disclosure, not modification. Zone integrity is protected by your registrar and DNS account credentials; keep those behind MFA for the separate, larger catastrophe they guard.

How does the scanner test this without disrupting DNS?

It issues the same read-only transfer request any client can send and records whether the server complies. The test generates one query per nameserver — indistinguishable from normal DNS traffic except that it should have been refused.

Sources

Where this guide's claims come from, in citable form:

  • RFC 5936 (2010) — the DNS zone transfer (AXFR) protocol specification.
  • OWASP Web Security Testing Guide (2021) — information-gathering tests, including zone transfer attempts.
Share this: X · Facebook · LinkedIn · WhatsApp

Related guides

  • Website Security Test: What It Checks, What It Misses, and How to Read Yours · 9 min read
  • Website Security Cheat Sheet: Headers, TLS, Cookies and Exposed Files · 7 min read
  • What a Website Security Assessment Actually Tests · 10 min read
  • TLS/SSL Basics: What Your Certificate Says About Your Site · 8 min read
  • Common Website Misconfigurations (and How to Fix Them) · 11 min read
  • Reading Your First Pentest Report: From Score to Action · 9 min read
  • Deleted ≠ Gone: What the Wayback Machine Keeps After You Delete Your Secrets · 9 min read
  • SQL Injection in Plain English: How One Login Box Can Read Your Database · 9 min read
  • What Does a Website Security Scan Check? · 8 min read
  • Exposed .git Directory: What It Leaks and How to Check · 7 min read
  • Security Headers Missing? What Each Header Stops · 7 min read
  • How Much Does a Penetration Test Cost in 2026? · 7 min read
  • Website Security Checklist for Small Teams (60-second self-check) · 6 min read
  • Reading Your Scan Results: Which Findings Fix First? · 7 min read
  • Content-Security-Policy Missing: What CSP Does and How to Add It Safely · 8 min read
  • HSTS Missing: What Strict-Transport-Security Prevents · 7 min read
  • Clickjacking and X-Frame-Options: How Framing Attacks Work · 7 min read
  • Cookie Flags Explained: Secure, HttpOnly and SameSite · 8 min read
  • Exposed .env File: What Leaks, What Attackers Do Next, What You Do First · 8 min read
  • Directory Listing Enabled: What It Shows Attackers and How to Disable It · 7 min read
  • Mixed Content: Why Your HTTPS Page Still Loads Insecure Resources · 7 min read
  • Expired SSL Certificate: What Breaks, Why Renewal Fails, and How to Catch It Early · 7 min read
  • TLS 1.0 and 1.1 Still Enabled: Why Old Protocols Show Up as a Finding · 7 min read
  • Open Ports on a Web Server: Which Ones Should Never Face the Internet · 8 min read
  • No SPF or DMARC Record: How Missing Email Auth Exposes Your Website · 7 min read
  • Subdomain Takeover: How a Dangling DNS Record Lets Attackers Claim Your Name · 7 min read
  • Forgotten Subdomains: The Staging Site You Forgot Is Still Public · 7 min read
  • WordPress Security Scan: The Exposures an Assessment Finds on WordPress Sites · 8 min read
  • Exposed Backup Files: .bak, .old and .zip Files Sitting in Your Web Root · 7 min read
  • phpinfo() in Production: The Diagnostic Page That Maps Your Server for Attackers · 7 min read
  • Server Version Banners: Why Your Headers Point Attackers to the Right Exploit · 7 min read
  • End-of-Life Software: Running a Server Stack Nobody Patches Anymore · 7 min read
  • CORS Misconfiguration: When Cross-Origin Sharing Opens Your Data to Any Site · 7 min read
  • Open Redirect Vulnerability: How Your Own Domain Sends Visitors to a Phishing Page · 7 min read
  • Dangerous HTTP Methods: What TRACE, PUT and DELETE Should Never Answer · 7 min read
  • Host Header Injection: Poisoned Reset Links and Cache Attacks Explained · 7 min read
  • What Is security.txt? The Small File That Lets Researchers Reach You · 6 min read
  • Admin Panel Exposed to the Internet: What an Assessment Flags and Why · 7 min read
  • phpMyAdmin Exposed: Why This Database Door Is a Prime Brute-Force Target · 7 min read
  • Spring Boot Actuator Exposed: Environment Dumps, Heap Leaks and Shutdown Endpoints · 7 min read
  • Debug Console in Production: The Finding That Can Become Code Execution · 7 min read
  • Exposed AWS Credentials File: The /.aws/credentials Finding, Explained · 7 min read
  • Referrer-Policy and Permissions-Policy: The Two Quiet Headers You Are Probably Missing · 6 min read
  • Exposed package.json: Your Dependency List Is a Recon Gift · 6 min read
  • Certificate Name Mismatch: Why the Cert Does Not Match Your Domain · 6 min read
  • Website Security Assessments for Agencies: Checking Every Client Site Without a Security Team · 8 min read
  • SaaS Security Questionnaires: What Buyers Check About Your Website First · 8 min read
  • Ecommerce Website Security: The Exposures That Put Your Checkout at Risk · 8 min read
  • Small Business Website Security: The Checks That Matter at Your Size · 7 min read
  • How to Prepare for a Website Security Assessment (and Read the Report Calmly) · 7 min read
  • Vulnerability Severity Explained: What Critical, High, Medium and Low Actually Mean · 7 min read
  • Retest After Fixes: How to Prove a Security Finding Is Actually Closed · 7 min read
  • Security Assessment vs Vulnerability Scan vs Pentest: What Is the Difference? · 7 min read
  • How Long Does a Website Security Scan Take? · 6 min read
  • Website Security Drift: Why Last Month's Clean Scan Is Already Out of Date · 7 min read
  • WordPress Site Keeps Getting Hacked After Cleanup · 8 min read
  • Google Blacklist Removal: Getting the Red Warning Off Your Site · 8 min read
  • VirusTotal Flagged My Site: How to Clear a False Positive · 8 min read

Related from the Ingenious AI suite

  • Ingenious AI — the full suite of security and compliance tools
  • DomainGuard — domain impersonation and typosquat defense
  • See BreachHunter pricing →
BreachHunter · by Ingenious AI · read-only security assessment — scan only targets you own or are authorized to test
About · Contact · Blog · vs Intruder · Privacy · Terms · Security · Threats · Nextcloud Check · Verify Evidence · Help · Redeem
More from Ingenious AI:
DisclosureGuard — AI disclosure compliance · Vibe-Code Audit — AI code security scanner · Rogue-Agent Defense — AI agent firewall · ChatBreaker — AI chatbot red-teaming · ModelMinder — AI model deprecation radar · TermsWatch — AI vendor terms monitor · Agent Flight Recorder — tamper-evident agent audit trails · Agent Auth Gateway — agent credentials & kill switch · DomainGuard — domain impersonation defense · Agent Passport — Know-Your-Agent registry · AgentGate — agent policy publisher · AgentBlock — AI agent & crawler access control · BoundaryVault — agent log forensics · Agentic Receipts — verifiable agent payment receipts · EvalEgress — eval-to-production exposure scan · HomeShield MCP — home AI server exposure check · WireWatch — payment verification ceremony · ADMT Notice Kit — AI decision notice compliance · DueLadder — human-approved invoice chasing · Agent-Ready Store Audit — can AI agents buy from your store · ContentCraft AI — content operations · AgentReady — agent-readiness checks · AI Audit Exchange — AI audit exchange · CallbackShield — callback & webhook protection · CompanionGuard — AI companion safety guardrails · CRAClock — EU Cyber Resilience Act deadline clock · EInvoice Translator — e-invoice format translator · GEOFixer — geo & local listing fixes · MandateGuard — agent spending mandates · OutcomeMeter — AI outcome measurement · ProvenanceGuard — content provenance checks · ReviewDesk — review response desk · ReviewProof — verified review evidence · TakedownCoop — coordinated phishing takedowns · TrustGate — trust & safety gating · BreachHunter — website penetration testing · All 36 platforms — the Ingenious AI portfolio

We use cookies. Necessary cookies keep the site working. With your permission we also use analytics cookies (to understand usage) and marketing cookies (for ads). Read our privacy policy.

NecessaryRequired for login, security and core features. Always on.
AnalyticsHelps us understand which pages are useful.
MarketingUsed for advertising and measuring ad performance.

    No match. Try “pricing”, “php2shell” or “contact” — or press Esc to close.

    ↑↓ navigate · Enter open · Esc close