Zone Transfer
lupaxa-zone-transfer tests whether a domain's nameservers allow DNS
zone transfer (AXFR). It discovers every NS (or uses the list you
pass), tries every IPv4 and IPv6 address, and prints the zone when a
server allows the transfer.
Authorised use only
AXFR contacts the target nameservers and can expose the full zone. Use it only on systems you are allowed to test.
Install the package for the library API and the zone-transfer console
command:
You can also run python -m lupaxa.zone_transfer.
What it does
- Looks up
NSrecords, or uses--nameserver(repeatable) - Resolves every
AandAAAAfor each nameserver hostname - Tries AXFR on each address
- Prints a status table (
allowed/refused/error) - Dumps name, type, TTL, and rdata for every allowed transfer
- Colours the table on a TTY (
--no-colororNO_COLORto disable) - Prints JSON with
--format json - Exits
2with--fail-openwhen any server allowed AXFR - Exposes
inspect_domain/inspect_manyas library functions
Next steps
- Getting started — install and first run
- Usage — CLI flags and the library API
- Reference — JSON fields, statuses, and exit codes
- Examples — table, JSON, and library recipes