From: Tom Hughes Date: Mon, 26 Sep 2022 16:16:34 +0000 (+0100) Subject: Revert "Switch IPv4 reverse to use RFC2317 style delegation" X-Git-Url: https://git.openstreetmap.org./dns.git/commitdiff_plain/096e7bafc439754c962c03b34d6067ac29718cfa Revert "Switch IPv4 reverse to use RFC2317 style delegation" This reverts commit 2decb257161b6886e8c171a8e7ecee9d346b6654. --- diff --git a/dnsconfig.js b/dnsconfig.js index d2a0b7d..e2e9c34 100644 --- a/dnsconfig.js +++ b/dnsconfig.js @@ -128,7 +128,7 @@ IDEDITOR("ideditor.com", REG_GANDI); var PTR_EQUINIX_DUB_IPV4 = loadTemplate("ptr_equinix_dub_ipv4"); -PTR_EQUINIX_DUB_IPV4(REV("184.104.226.96/27"), REG_NONE); +PTR_EQUINIX_DUB_IPV4("96-27.226.104.184.in-addr.arpa", REG_NONE); var PTR_EQUINIX_DUB_IPV6 = loadTemplate("ptr_equinix_dub_ipv6"); diff --git a/src/ptr_equinix_dub_ipv4.js b/src/ptr_equinix_dub_ipv4.js index e354094..14be3f8 100644 --- a/src/ptr_equinix_dub_ipv4.js +++ b/src/ptr_equinix_dub_ipv4.js @@ -1,15 +1,15 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER), - PTR(SWITCH1DUB_IPV4, "switch1.dub.openstreetmap.org."), - PTR(FAFNIR_IPV4, "fafnir.openstreetmap.org."), - PTR(SPIKE01_IPV4, "spike-01.openstreetmap.org."), - PTR(SPIKE02_IPV4, "spike-02.openstreetmap.org."), - PTR(SPIKE03_IPV4, "spike-03.openstreetmap.org."), - PTR(IDRIS_IPV4, "idris.openstreetmap.org."), - PTR(KONQI_IPV4, "konqi.openstreetmap.org."), - PTR(NAGA_IPV4, "naga.openstreetmap.org."), - PTR(CULEBRE_IPV4, "culebre.openstreetmap.org."), - PTR(HORNTAIL_IPV4, "horntail.openstreetmap.org."), - PTR(GORWEN_IPV4, "gorwen.openstreetmap.org."), - PTR(JAKELONG_IPV4, "jakelong.openstreetmap.org."), - PTR(LONGMA_IPV4, "longma.openstreetmap.org.") + PTR(SWITCH1DUB_IPV4.split(".").pop(), "switch1.dub.openstreetmap.org."), + PTR(FAFNIR_IPV4.split(".").pop(), "fafnir.openstreetmap.org."), + PTR(SPIKE01_IPV4.split(".").pop(), "spike-01.openstreetmap.org."), + PTR(SPIKE02_IPV4.split(".").pop(), "spike-02.openstreetmap.org."), + PTR(SPIKE03_IPV4.split(".").pop(), "spike-03.openstreetmap.org."), + PTR(IDRIS_IPV4.split(".").pop(), "idris.openstreetmap.org."), + PTR(KONQI_IPV4.split(".").pop(), "konqi.openstreetmap.org."), + PTR(NAGA_IPV4.split(".").pop(), "naga.openstreetmap.org."), + PTR(CULEBRE_IPV4.split(".").pop(), "culebre.openstreetmap.org."), + PTR(HORNTAIL_IPV4.split(".").pop(), "horntail.openstreetmap.org."), + PTR(GORWEN_IPV4.split(".").pop(), "gorwen.openstreetmap.org."), + PTR(JAKELONG_IPV4.split(".").pop(), "jakelong.openstreetmap.org."), + PTR(LONGMA_IPV4.split(".").pop(), "longma.openstreetmap.org.") );