
If it's just an experiment, dnslib for Python includes a basic zone file resolver you can crib from: https://github.com/paulc/dnslib/blob/master/dnslib/zoneresolver.py Here's what it looks like to run: https://gist.github.com/ReK42/cde36ff6035bd9d0a50494a85034876e Regards, Ryan -------- Original Message -------- On 2025-08-08 10:21, William Herrin via NANOG <nanog@lists.nanog.org> wrote:
Can anyone recommend software for an authoritative DNS server where the open source code is clean and well documented? I have an anycast-related experiment I'd like to put together and I want to be able to quickly shoehorn it into existing code.
I looked at the source for ISC Bind but the code complexity is far beyond anything I'd want to touch for a casual experiment. Please don't use macros (#defines) to construct your C function _definitions_. I realize C allows it but it turns your code into a meta-language that no one else knows.
Regards, Bill Herrin
-- William Herrin bill@herrin.us https://bill.herrin.us/ _______________________________________________ NANOG mailing list https://lists.nanog.org/archives/list/nanog@lists.nanog.org/message/RG5JZ5LG...