DevToolkit

DNS Zone File Parser

Back home

Browser only

DNS Zone File Parser

Parse DNS zone files in your browser and inspect common records, TTLs, and warnings before you publish changes.

This is a best-effort parser. Review production DNS changes yourself before you publish them, and only paste the public zone file content you want to inspect.

Deep dive

More context for DNS Zone File Parser

Useful when you want to review a DNS zone file before you hand it to a provider, registrar, or deployment workflow.

Overview

What is this tool?

It parses DNS zone file content locally in your browser and best-effort extracts common records such as SOA, NS, A, AAAA, CNAME, MX, TXT, SRV, CAA, and PTR, along with TTLs and warnings.

Input samples

Example inputs

Forward zone

$ORIGIN example.com.
$TTL 3600
@ IN SOA ns1.example.com. hostmaster.example.com. (
  2024060101
  7200
  3600
  1209600
  3600
)
@ IN NS ns1.example.com.
@ IN NS ns2.example.com.
www IN A 192.0.2.10
mail IN MX 10 mail.example.com.
txt IN TXT "v=spf1 include:_spf.example.com ~all"
_sip._tcp IN SRV 10 5 5060 sip.example.com.
caa IN CAA 0 issue "letsencrypt.org"

Reverse zone

$ORIGIN 2.0.192.in-addr.arpa.
$TTL 86400
10 IN PTR web-01.example.com.
11 IN PTR api-01.example.com.

Common pitfall

$ORIGIN example.com.
alias IN CNAME www

When to use it

Common use cases

  • Review a zone file before you change nameservers, addresses, MX records, or verification TXT records.
  • Check that a forward or reverse zone still has the SOA and NS records you expect.
  • Spot suspicious CNAME, MX, TTL, or TXT entries before you paste the file into production.

Navigation

Explore related workflows

Keep moving through the collection, workflow, and adjacent tools that usually belong with this page.

Related workflow

Continue with the tool chain that usually goes together here.

Debug website headers and CORS

Parse response headers, review security protections, generate CORS snippets, and prepare redirect rules for web apps.

Answers

FAQ

Does it query live DNS?

No. It parses only the text you paste locally, so the result does not reflect live public DNS.

Can it handle multi-line SOA and TXT records?

Yes, in a best-effort way. Parenthesized SOA and TXT blocks are supported for the common cases this tool is built to read.

Is this a full zone validator?

No. Treat it as a browser-side review tool, then confirm the final zone changes with your DNS provider or deployment process.

Can I use it for reverse zones?

Yes. PTR records and reverse zone examples are supported, so you can review both forward and reverse zone files here.

Disclaimer

Disclaimer / limitation note

This tool is a best-effort DNS zone file parser and does not query live DNS. It cannot confirm current public resolution, provider-specific behavior, or the result of a production change, so always verify the final zone before you publish it. All parsing happens locally in your browser and is not uploaded to a server.

Privacy

Privacy note

Parsing happens entirely in your browser. No backend request is needed, no login is required, and DevToolkit does not store the zone content you paste here.