Add list_zones to AutoArpa

- This makes it possible to use dynamic zone config with AutoArpa
- Document what gotchas that entails
- Add tests both with another source (for generating zones to populate) and without (no zones to populate)
This commit is contained in:
Martin Frausing
2024-01-05 13:59:49 +01:00
parent 604ed8604b
commit 68e1178ac7
8 changed files with 118 additions and 0 deletions
+3
View File
@@ -72,3 +72,6 @@ class AutoArpa(BaseProcessor):
self.log.info(
'populate: found %s records', len(zone.records) - before
)
def list_zones(self):
return set()