🔍
← 网络工具← Network tools

IP 转 PTR / 区域记录生成器IP to PTR / zone record generator

本地生成反向名称和完整区域文件记录,支持 IDN 目标与 TTL 校验;在线解析是独立的可选步骤。Generate reverse names and complete zone-file records locally with IDN target and TTL validation. An online resolver query is a separate opt-in step.

配置Configuration

可选:实时 PTR 查询Optional live PTR query

此步骤通过 HTTPS 向 Cloudflare 或 Google 发送反向域名;所选服务商会看到连接 IP。不会修改 PTR 配置。超时为 10 秒。This sends the reverse name to Cloudflare or Google over HTTPS; the selected provider sees your connection IP. It does not configure a PTR record. Timeout: 10 seconds.

如何理解结果Understand the result

生成反向名称在本地完成,不会配置 DNS。实时 PTR 查询是独立、需同意的联网步骤。Generating a reverse name is local and does not configure DNS. Live PTR lookup is a separate, consented network step.

原理、限制与隐私说明How it works, limitations & privacy
  • IPv4 在 in-addr.arpa 下倒序排列字节;IPv6 展开为 32 个十六进制半字节后在 ip6.arpa 下倒序排列。反向名称和目标均附根点,TTL 须为 0–2147483647 秒。IPv4 reverses octets under in-addr.arpa; IPv6 expands to 32 nibbles then reverses them under ip6.arpa. The reverse owner and target both include the final root dot. TTL must be 0–2147483647 seconds.

  • 此处生成完整记录名称的区域记录,不生成 RFC 2317 无类别委派或前缀反向区域。只有地址提供方或反向区域管理者才能发布。IDN 目标转换为 ASCII DNS 形式,并拒绝非法标签。This generates a whole-owner zone record, not RFC 2317 classless delegation or a prefix reverse zone. Only the address provider or reverse-zone operator can publish it. IDN targets are converted to ASCII DNS form; illegal labels are rejected.