How monoidic/tldr2 works
TLDR is a periodically run archive of historical root and TLD DNS zone data, collected through DNS zone-transfer attempts. Its main workflow discovers TLDs, resolves their authoritative nameservers, attempts transfers, and saves successful results for historical comparison; it also writes a transfer-status report. The sampled utils.py provides a separate maintenance path for walk, AXFR, and NSEC3 metadata backed partly by SQLite. Source excerpts show the collection and helper operations, but not the scheduler or the wider use of the walk data.
Main entry points: scan.py Scan runner · utils.py Metadata utilities · archives Zone archive · walks Walk data
Components 15
Zone collection
- Scan runner
scan.py - TLD discovery
scan.py - Nameserver lookup
scan.py - AXFR transfer
scan.py - Transfer validation
scan.py
Historical records
- Zone archive
archives - Transfer report
scan.py
Metadata maintenance
- Metadata utilities
utils.py - Walk data
walks - Metadata CSVs
- TLDR SQLite
Other components
- Operator
- IANA TLD list
- Root DNS servers
- TLD DNS servers
Connections 15
- Operator → Scan runner: runs
scan.py - Scan runner → TLD discovery: calls
scan.py - TLD discovery → IANA TLD list: fetches list
scan.py - Scan runner → Nameserver lookup: resolves nameservers
scan.py - Nameserver lookup → TLD DNS servers: queries NS
scan.py - Scan runner → Root DNS servers: requests AXFR
scan.py - Scan runner → AXFR transfer: requests AXFR
scan.py - AXFR transfer → TLD DNS servers: queries AXFR
scan.py - Scan runner → Transfer validation: checks result
scan.py - Scan runner → Zone archive: writes zones
scan.py - Scan runner → Transfer report: writes report
scan.py - Operator → Metadata utilities: runs utility
- Metadata utilities → Metadata CSVs: reads and writes
utils.py - Metadata utilities → TLDR SQLite: queries
utils.py - Metadata utilities → Walk data: uses walk lists