Hi,
I would like to do some pre-processing on BIND-format files during our CI/CD for DNS-- in particular, it would be very helpful to detect duplicate CNAMES, which cause the version of BIND we are using to refuse the zone file.
Creating a zone from a file with dnspython replaces duplicate CNAMES with just one, and so the zone files are happily parsed by dnspython, with no available indication that a duplicate CNAME has been processed.
I'm not overly excited about writing a BIND file parser myself, so was hoping to leverage dnspython for the task of detecting duplicate CNAMES. Is there a way to do this?
Any suggestions would be gratefully received!
Thanks
Mike