Join Nostr
2025-02-23 14:57:26 UTC

JP Mens™ on Nostr: I'm not feeling too prickly so maybe just a case of RTFM, but is there really no way ...

I'm not feeling too prickly so maybe just a case of RTFM, but is there really no way in dnspython (2.7.0) to produce a nicer zone file?

zone.to_file('example.com.zone', relativize=True, sorted=True, want_origin=True)

Or do I really just pipe through BIND's named-compilezone if I want that?

#dns