Go to file
2024-08-06 17:38:53 +02:00
.gitignore Init repo 2024-08-06 17:38:53 +02:00
flake.lock Init repo 2024-08-06 17:38:53 +02:00
flake.nix Init repo 2024-08-06 17:38:53 +02:00
LICENSE Init repo 2024-08-06 17:38:53 +02:00
ptrcalc.py Init repo 2024-08-06 17:38:53 +02:00
pyproject.toml Init repo 2024-08-06 17:38:53 +02:00
README.md Init repo 2024-08-06 17:38:53 +02:00

ptrcalc

Displays reverse zone for a given IPv6 or IPv4 Address.

~$ ptrcalc 42.43.123.43/29
IP Address: 42.43.123.43/29
    Reverse pointer:  43.123.43.42.in-addr.arpa
    Zone:             123.43.42.in-addr.arpa
    Host:             43

RFC2317:
    Reverse pointer:  43.40/29.123.43.42.in-addr.arpa
    Zone:             123.43.42.in-addr.arpa
    Host:             43

Supports RFC2317 and JSON output.