From 4c0be2bc4da9a00af806a81cb24d2959ccb74e51 Mon Sep 17 00:00:00 2001 From: Reid 'arrdem' McKenzie Date: Sat, 26 Nov 2022 14:20:22 -0700 Subject: [PATCH] public-dns -> public_dns --- projects/{public-dns => public_dns}/BUILD | 0 projects/{public-dns => public_dns}/README.md | 0 projects/public_dns/config.yml | 37 +++++++++++++++++++ .../src/python/arrdem/updater/__main__.py | 0 .../src/resources/zonefiles/__init__.py | 0 .../src/resources/zonefiles/arrdem.com.j2 | 0 .../src/resources/zonefiles/paren.party.j2 | 0 .../src/resources/zonefiles/park.j2 | 0 .../src/resources/zonefiles/tirefireind.us.j2 | 16 ++++---- projects/{public-dns => public_dns}/update.sh | 0 10 files changed, 45 insertions(+), 8 deletions(-) rename projects/{public-dns => public_dns}/BUILD (100%) rename projects/{public-dns => public_dns}/README.md (100%) create mode 100644 projects/public_dns/config.yml rename projects/{public-dns => public_dns}/src/python/arrdem/updater/__main__.py (100%) rename projects/{public-dns => public_dns}/src/resources/zonefiles/__init__.py (100%) rename projects/{public-dns => public_dns}/src/resources/zonefiles/arrdem.com.j2 (100%) rename projects/{public-dns => public_dns}/src/resources/zonefiles/paren.party.j2 (100%) rename projects/{public-dns => public_dns}/src/resources/zonefiles/park.j2 (100%) rename projects/{public-dns => public_dns}/src/resources/zonefiles/tirefireind.us.j2 (68%) rename projects/{public-dns => public_dns}/update.sh (100%) diff --git a/projects/public-dns/BUILD b/projects/public_dns/BUILD similarity index 100% rename from projects/public-dns/BUILD rename to projects/public_dns/BUILD diff --git a/projects/public-dns/README.md b/projects/public_dns/README.md similarity index 100% rename from projects/public-dns/README.md rename to projects/public_dns/README.md diff --git a/projects/public_dns/config.yml b/projects/public_dns/config.yml new file mode 100644 index 0000000..ae4205b --- /dev/null +++ b/projects/public_dns/config.yml @@ -0,0 +1,37 @@ +--- +gandi: + key: "Z2eUpJ6X2eBKYkgPVyedyoas" + +meraki: + key: "606ad50af474d47465b18425f039b15c5bf8afec" + organization: "875638" + #organization: "arrdem" + network: "L_634444597505822900" + router_serial: "Q2PN-WV3P-ZEGK" + +tasks: + # My zones + - template: arrdem.com.j2 + zones: + - arrdem.com + - arrdem.me + - reidmckenzie.com + + - paren.party + + # Parked domains + - template: park.j2 + zones: + - paren.town + - paren.space + + - template: tirefireind.us.j2 + zones: + - tirefireind.us + - tirefire.industries + +bindings: + ttl: 300 # 5min TTL on records + local: + public_v4s: + - 67.166.27.157 diff --git a/projects/public-dns/src/python/arrdem/updater/__main__.py b/projects/public_dns/src/python/arrdem/updater/__main__.py similarity index 100% rename from projects/public-dns/src/python/arrdem/updater/__main__.py rename to projects/public_dns/src/python/arrdem/updater/__main__.py diff --git a/projects/public-dns/src/resources/zonefiles/__init__.py b/projects/public_dns/src/resources/zonefiles/__init__.py similarity index 100% rename from projects/public-dns/src/resources/zonefiles/__init__.py rename to projects/public_dns/src/resources/zonefiles/__init__.py diff --git a/projects/public-dns/src/resources/zonefiles/arrdem.com.j2 b/projects/public_dns/src/resources/zonefiles/arrdem.com.j2 similarity index 100% rename from projects/public-dns/src/resources/zonefiles/arrdem.com.j2 rename to projects/public_dns/src/resources/zonefiles/arrdem.com.j2 diff --git a/projects/public-dns/src/resources/zonefiles/paren.party.j2 b/projects/public_dns/src/resources/zonefiles/paren.party.j2 similarity index 100% rename from projects/public-dns/src/resources/zonefiles/paren.party.j2 rename to projects/public_dns/src/resources/zonefiles/paren.party.j2 diff --git a/projects/public-dns/src/resources/zonefiles/park.j2 b/projects/public_dns/src/resources/zonefiles/park.j2 similarity index 100% rename from projects/public-dns/src/resources/zonefiles/park.j2 rename to projects/public_dns/src/resources/zonefiles/park.j2 diff --git a/projects/public-dns/src/resources/zonefiles/tirefireind.us.j2 b/projects/public_dns/src/resources/zonefiles/tirefireind.us.j2 similarity index 68% rename from projects/public-dns/src/resources/zonefiles/tirefireind.us.j2 rename to projects/public_dns/src/resources/zonefiles/tirefireind.us.j2 index 79a40e4..7ac9e62 100644 --- a/projects/public-dns/src/resources/zonefiles/tirefireind.us.j2 +++ b/projects/public_dns/src/resources/zonefiles/tirefireind.us.j2 @@ -23,13 +23,13 @@ relay {{ ttl }} IN A {{ link }} # Host records ## The hand-rolled hosts -feed.h.dia0.site {{ ttl }} IN A 10.0.0.5 -sucker.h.dia0.site {{ ttl }} IN A 10.0.0.16 -chisel.h.dia0.site {{ ttl }} IN A 10.0.0.20 -heiroglyph.h.dia0.site {{ ttl }} IN A 10.0.0.22 +feed.host.dia0.site {{ ttl }} IN A 10.0.0.5 +sucker.host.dia0.site {{ ttl }} IN A 10.0.0.16 +chisel.host.dia0.site {{ ttl }} IN A 10.0.0.20 +heiroglyph.host.dia0.site {{ ttl }} IN A 10.0.0.22 ## The modes -fuhok-migir.h.dia0.site {{ ttl }} IN A 10.0.0.24 -kadib-mifin.h.dia0.site {{ ttl }} IN A 10.0.0.25 -banat-kukol.h.dia0.site {{ ttl }} IN A 10.0.0.26 +fuhok-migir.host.dia0.site {{ ttl }} IN A 10.0.0.24 +kadib-mifin.host.dia0.site {{ ttl }} IN A 10.0.0.25 +banat-kukol.host.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 +gamis-nakag.host.dia0.site {{ ttl }} IN A 10.0.0.27 diff --git a/projects/public-dns/update.sh b/projects/public_dns/update.sh similarity index 100% rename from projects/public-dns/update.sh rename to projects/public_dns/update.sh