PasteZap
🌐 日本語
無料 · アカウント不要

無料 · ネットワーク・IT インフラ

逆引き DNS ゾーン生成.

アドレスとホスト名の一覧から、SOA・NS・PTR レコードを含む in-addr.arpa と ip6.arpa のゾーンファイルを作成します。

はじめる前に

一部の技術的な操作項目は英語です。Unicode テキストに対応していますが、ファイル形式と出力言語はツールによって異なります。

技術的な制限は以下に英語で記載されています。大きなファイルを処理する前や結果を使用する前に確認してください。

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.

使い方: 逆引き DNS ゾーン生成

データを入力するかファイルを選び、設定を調整して結果を生成します。コピーやダウンロードの前に結果を確認してください。

制限と対応形式

入力内容はお使いの端末で処理されます。

英語の技術説明

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.

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.

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