PasteZap
🌐 English
Free · No account

FREE · NETWORK & IT INFRASTRUCTURE

Reverse DNS Zone Generator.

Generate in-addr.arpa and ip6.arpa reverse DNS zone files with SOA, NS and PTR records from a list of addresses and host names.

Limits & supported formats

IPv4 zones are /8, /16 or /24; classless (RFC 2317) delegation for smaller blocks is not generated. Up to 10,000 records. Everything is calculated in your browser; nothing is sent or probed on the network.

CALCULATED IN YOUR BROWSER · NOTHING IS UPLOADED
PTR records63 zones

Zone 2.0.192.in-addr.arpa

$ORIGIN 2.0.192.in-addr.arpa.
$TTL 3600
@	IN	SOA	ns1.example.com. hostmaster.example.com. (
		2026101101	; serial
		3600		; refresh
		900		; retry
		1209600		; expire
		3600 )		; negative-cache TTL
@	IN	NS	ns1.example.com.
@	IN	NS	ns2.example.com.

10	IN	PTR	www.example.com.
11	IN	PTR	mail.example.com.
25	IN	PTR	vpn.example.com.

Zone 100.51.198.in-addr.arpa

$ORIGIN 100.51.198.in-addr.arpa.
$TTL 3600
@	IN	SOA	ns1.example.com. hostmaster.example.com. (
		2026101101	; serial
		3600		; refresh
		900		; retry
		1209600		; expire
		3600 )		; negative-cache TTL
@	IN	NS	ns1.example.com.
@	IN	NS	ns2.example.com.

4 	IN	PTR	ns1.example.com.

Zone 0.1.0.0.8.b.d.0.1.0.0.2.ip6.arpa

$ORIGIN 0.1.0.0.8.b.d.0.1.0.0.2.ip6.arpa.
$TTL 3600
@	IN	SOA	ns1.example.com. hostmaster.example.com. (
		2026101101	; serial
		3600		; refresh
		900		; retry
		1209600		; expire
		3600 )		; negative-cache TTL
@	IN	NS	ns1.example.com.
@	IN	NS	ns2.example.com.

5.2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0	IN	PTR	mail.example.com.
0.8.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0	IN	PTR	www.example.com.
  • Reverse zones are delegated by whoever controls the address block, usually your ISP, hosting provider or regional registry. Ask them to delegate the zone to your name servers or to publish the PTR records for you.
  • IPv4 blocks smaller than a /24 use classless delegation (RFC 2317) with CNAME records at the provider; this generator writes the full /24 zone.
  • Check the files with named-checkzone before loading them.

How to use Reverse DNS Zone Generator

List “address host-name” pairs, choose zone sizes, name servers, contact e-mail and TTL, then download one file per zone for BIND, Knot, NSD or PowerDNS.

How it works

Each address is reversed into its PTR name and grouped by zone; owner names are written relative to $ORIGIN. The serial defaults to today in YYYYMMDDnn form.

Example

192.0.2.10 www.example.com becomes “10 IN PTR www.example.com.” in the zone 2.0.192.in-addr.arpa.

Questions about Reverse DNS Zone Generator

Is Reverse DNS Zone Generator free, and do I need an account?

Yes. This tool is free to use in your browser without an account. Processing takes place on your device.

What are the limits and what should I check?

IPv4 zones are /8, /16 or /24; classless (RFC 2317) delegation for smaller blocks is not generated. Up to 10,000 records. Everything is calculated in your browser; nothing is sent or probed on the network. Review the result before using it in your work.

Is my input sent to a server?

Your input is processed in your browser and is not uploaded by this tool. Files and pasted text are cleared when the page is refreshed. Normal website requests are still required to load the page and its libraries. Read the privacy explanation.