From a68abf105dec0d7b468a5339a91c3ba9e9ff2241 Mon Sep 17 00:00:00 2001 From: Reid 'arrdem' McKenzie Date: Thu, 7 Oct 2021 09:51:02 -0600 Subject: [PATCH] So long yakshave.club, I never used you --- projects/public-dns/src/python/arrdem/updater/__main__.py | 2 +- projects/public-dns/src/resources/zonefiles/tirefireind.us.j2 | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/projects/public-dns/src/python/arrdem/updater/__main__.py b/projects/public-dns/src/python/arrdem/updater/__main__.py index 0e326f8..f95c31d 100644 --- a/projects/public-dns/src/python/arrdem/updater/__main__.py +++ b/projects/public-dns/src/python/arrdem/updater/__main__.py @@ -167,7 +167,7 @@ def main(): os.path.join(args.template_dir, task["template"]), template_bindings ) - for zone_name in task["zones"]: + for zone_name in task["zones"] or []: try: live_zone = api.domain_records(zone_name) diff --git a/projects/public-dns/src/resources/zonefiles/tirefireind.us.j2 b/projects/public-dns/src/resources/zonefiles/tirefireind.us.j2 index 62856f3..cd0b674 100644 --- a/projects/public-dns/src/resources/zonefiles/tirefireind.us.j2 +++ b/projects/public-dns/src/resources/zonefiles/tirefireind.us.j2 @@ -31,6 +31,3 @@ kadib-mifin.h.dia0.site {{ ttl }} IN A 10.0.0.25 banat-kukol.h.dia0.site {{ ttl }} IN A 10.0.0.26 ## The old blue laptop gamis-nakag.h.dia0.site {{ ttl }} IN A 10.0.0.27 -## The two dells -rijay-bojib.h.dia0.site {{ ttl }} IN A 10.0.0.28 -kisuf-manag.h.dia0.site {{ ttl }} IN A 10.0.0.29