We currently have a static DNS zone configuration at dns/zone.dns. We need a Python helper script (e.g. tools/generate_dns.py) that can automatically parse a list of DIDs or public keys and output a valid, BIND9-compatible zone file with SRV and TXT records.
Requirements:
- Written in pure Python (no external dependencies).
- Accepts a JSON file of DID mappings.
- Outputs formatted BIND9 record syntax.
We currently have a static DNS zone configuration at dns/zone.dns. We need a Python helper script (e.g. tools/generate_dns.py) that can automatically parse a list of DIDs or public keys and output a valid, BIND9-compatible zone file with SRV and TXT records.
Requirements: