Closed ross closed 1 year ago
I am not aware of a method to get a list of zones via AFXR or anything either unfortunately.
Hi there, it seems that the ZoneFileSource.list_zones does not check that the zone names ends with a dot properly.
When using dynamic zones with octodns_bind.ZoneFileSource, we get a "Invalid zone name foo.tld, missing ending dot" further.
In our case, we don't have the final dot in the file names, so use file_extension: "", which is not working with your current implementation of list_zones. It would be better to remove the defined file_extension entirely and then adding a dot in all case.
Implements list_zones for ZoneFileSource.
Unfortunately there doesn't seem to be a way to remotely get a list of zones from a running bind server (via AXFR like queries) so no such support for AxfrSource.
/cc https://github.com/octodns/octodns/pull/1026