From f2b8d716ec2d35fd7166b2700832db916f6b58f8 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Sat, 10 Jun 2023 10:40:30 +0100 Subject: [PATCH] Add reverse DNS zones for Amsterdam --- dnsconfig.js | 8 ++++++++ src/ptr_equinix_ams_ipv4.js | 14 ++++++++++++++ src/ptr_equinix_ams_ipv6.js | 13 +++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 src/ptr_equinix_ams_ipv4.js create mode 100644 src/ptr_equinix_ams_ipv6.js diff --git a/dnsconfig.js b/dnsconfig.js index 01291cb..ff9516d 100644 --- a/dnsconfig.js +++ b/dnsconfig.js @@ -133,6 +133,14 @@ var IDEDITOR = loadTemplate("ideditor"); IDEDITOR("ideditor.com", REG_GANDI); +var PTR_EQUINIX_AMS_IPV4 = loadTemplate("ptr_equinix_ams_ipv4"); + +PTR_EQUINIX_AMS_IPV4("128-27.179.104.184.in-addr.arpa", REG_NONE); + +var PTR_EQUINIX_AMS_IPV6 = loadTemplate("ptr_equinix_ams_ipv6"); + +PTR_EQUINIX_AMS_IPV6(REV("2001:470:1:fa1::/64"), REG_NONE); + var PTR_EQUINIX_DUB_IPV4 = loadTemplate("ptr_equinix_dub_ipv4"); PTR_EQUINIX_DUB_IPV4("96-27.226.104.184.in-addr.arpa", REG_NONE); diff --git a/src/ptr_equinix_ams_ipv4.js b/src/ptr_equinix_ams_ipv4.js new file mode 100644 index 0000000..46e0704 --- /dev/null +++ b/src/ptr_equinix_ams_ipv4.js @@ -0,0 +1,14 @@ +// http://www.he.net/adm/reverse.dns.html (RFC4183 notation) +D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER), + PTR(DRIBBLE_IPV4.split(".").pop(), "dribble.openstreetmap.org."), + PTR(DULCY_IPV4.split(".").pop(), "dulcy.openstreetmap.org."), + PTR(FAFFY_IPV4.split(".").pop(), "faffy.openstreetmap.org."), + PTR(IRONBELLY_IPV4.split(".").pop(), "ironbelly.openstreetmap.org."), + PTR(NORBERT_IPV4.split(".").pop(), "norbert.openstreetmap.org."), + PTR(ODIN_IPV4.split(".").pop(), "odin.openstreetmap.org."), + PTR(SPIKE06_IPV4.split(".").pop(), "spike-06.openstreetmap.org."), + PTR(SPIKE07_IPV4.split(".").pop(), "spike-07.openstreetmap.org."), + PTR(SPIKE08_IPV4.split(".").pop(), "spike-08.openstreetmap.org."), + PTR(VHAGAR_IPV4.split(".").pop(), "vhagar.openstreetmap.org."), + PTR(SWITCH1AMS_IPV4.split(".").pop(), "switch1.ams.openstreetmap.org.") +); diff --git a/src/ptr_equinix_ams_ipv6.js b/src/ptr_equinix_ams_ipv6.js new file mode 100644 index 0000000..c670fb0 --- /dev/null +++ b/src/ptr_equinix_ams_ipv6.js @@ -0,0 +1,13 @@ +D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER), + PTR(DRIBBLE_IPV6, "dribble.openstreetmap.org."), + PTR(DULCY_IPV6, "dulcy.openstreetmap.org."), + PTR(FAFFY_IPV6, "faffy.openstreetmap.org."), + PTR(IRONBELLY_IPV6, "ironbelly.openstreetmap.org."), + PTR(NORBERT_IPV6, "norbert.openstreetmap.org."), + PTR(ODIN_IPV6, "odin.openstreetmap.org."), + PTR(SPIKE06_IPV6, "spike-06.openstreetmap.org."), + PTR(SPIKE07_IPV6, "spike-07.openstreetmap.org."), + PTR(SPIKE08_IPV6, "spike-08.openstreetmap.org."), + PTR(VHAGAR_IPV6, "vhagar.openstreetmap.org."), + PTR(SWITCH1AMS_IPV6, "switch1.ams.openstreetmap.org.") +); -- 2.39.5