The Lupaxa Security Toolbox
Part of The Lupaxa Project
lupaxa-zone-transfer
Test whether a domain's nameservers allow DNS zone transfer (AXFR), and show the zone contents when they do.
Warning — authorised use only. This tool contacts nameservers and can expose a full zone. Use it only on systems you are allowed to test.
Features
- Discover authoritative
NSrecords or use repeatable--nameservervalues - Sort nameservers by name; for each host, try IPv4 before IPv6
- Resolve every IPv4 and IPv6 address for nameserver hostnames
- Try AXFR against every discovered endpoint
- Report
allowed,refused, anderroroutcomes - Print transferred records with name, type, TTL, and rdata
- Human-readable table (colour on a TTY;
--no-colororNO_COLORto disable), or JSON - Spinner on stderr while nameserver lookup and AXFR run (TTY only)
- Optional
--fail-openexit status for CI-style security findings - Library API (
inspect_domain/inspect_many) and CLI (zone-transfer) - Fully typed, linted, formatted, and tested
Installation
From PyPI
pip install lupaxa-zone-transfer
From source (development mode)
pip install -e ".[dev]"
Requires Python 3.10+. Runtime dependencies: dnspython, prettytable,
and colored.
Library quick start
from lupaxa.zone_transfer import inspect_domain
report = inspect_domain("example.com")
print(report.attempts[0].status)
CLI quick start
zone-transfer --help
zone-transfer example.com
zone-transfer example.com example.org
zone-transfer example.com --nameserver ns1.example.net --nameserver 203.0.113.10
zone-transfer example.com --format json
zone-transfer example.com --fail-open
zone-transfer example.com --timeout 10 --no-color
You can also run the CLI as a module:
python -m lupaxa.zone_transfer --help
python -m lupaxa.zone_transfer --version
Documentation
Online documentation:
Source repository:
Serve docs locally
From a clone of the repository:
make mkdocs-serve
Then open the local URL printed by MkDocs in your browser.
Development
Clone the repository and install with Make:
make init # first-time makefile-skills checkout
make python-install-dev # editable install with [dev]
make python-check # lint, type-check, and test
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lupaxa_zone_transfer-0.1.0.tar.gz.
File metadata
- Download URL: lupaxa_zone_transfer-0.1.0.tar.gz
- Upload date:
- Size: 11.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adb171766c6056c3eee019aec0c5bff3845db8024d31a2a7ce31b17391a6df10
|
|
| MD5 |
be3b53a03e71c9468b85c2caeb892e58
|
|
| BLAKE2b-256 |
b96308155f4a9f2dee321442e347be4405b424dd9849ca066b38471eea68331f
|
Provenance
The following attestation bundles were made for lupaxa_zone_transfer-0.1.0.tar.gz:
Publisher:
generate-release.yml on lupaxa-security-toolbox/zone-transfer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lupaxa_zone_transfer-0.1.0.tar.gz -
Subject digest:
adb171766c6056c3eee019aec0c5bff3845db8024d31a2a7ce31b17391a6df10 - Sigstore transparency entry: 2768758455
- Sigstore integration time:
-
Permalink:
lupaxa-security-toolbox/zone-transfer@09757a284f361b733ad6b935dec88c8c8025810b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/lupaxa-security-toolbox
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
generate-release.yml@09757a284f361b733ad6b935dec88c8c8025810b -
Trigger Event:
push
-
Statement type:
File details
Details for the file lupaxa_zone_transfer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: lupaxa_zone_transfer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f470a81c6282ebe85a5a140e82bea36ad740c358123cb7f0cf33d4d07b3df469
|
|
| MD5 |
286e21b2f7c24b37785b9860f9b67e19
|
|
| BLAKE2b-256 |
94190533578d6c6337e92a1e1c6aa99f108f0e85031c701ffddc88cbfef62b91
|
Provenance
The following attestation bundles were made for lupaxa_zone_transfer-0.1.0-py3-none-any.whl:
Publisher:
generate-release.yml on lupaxa-security-toolbox/zone-transfer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lupaxa_zone_transfer-0.1.0-py3-none-any.whl -
Subject digest:
f470a81c6282ebe85a5a140e82bea36ad740c358123cb7f0cf33d4d07b3df469 - Sigstore transparency entry: 2768758545
- Sigstore integration time:
-
Permalink:
lupaxa-security-toolbox/zone-transfer@09757a284f361b733ad6b935dec88c8c8025810b -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/lupaxa-security-toolbox
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
generate-release.yml@09757a284f361b733ad6b935dec88c8c8025810b -
Trigger Event:
push
-
Statement type: