From: Grant Slater Date: Fri, 17 Jan 2025 22:59:10 +0000 (+0000) Subject: Use new cleaner PTR rfc4183 support X-Git-Url: https://git.openstreetmap.org./dns.git/commitdiff_plain Use new cleaner PTR rfc4183 support --- diff --git a/src/ptr_equinix_ams_ipv4.js b/src/ptr_equinix_ams_ipv4.js index e299684..88b7b65 100644 --- a/src/ptr_equinix_ams_ipv4.js +++ b/src/ptr_equinix_ams_ipv4.js @@ -1,15 +1,15 @@ // 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(LOCKHEED_IPV4.split(".").pop(), "lockheed.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(TABALUGA_IPV4.split(".").pop(), "tabaluga.openstreetmap.org."), - PTR(VHAGAR_IPV4.split(".").pop(), "vhagar.openstreetmap.org."), - PTR(SWITCH1AMS_IPV4.split(".").pop(), "switch1.ams.openstreetmap.org.") + PTR(DRIBBLE_IPV4, "dribble.openstreetmap.org."), + PTR(DULCY_IPV4, "dulcy.openstreetmap.org."), + PTR(FAFFY_IPV4, "faffy.openstreetmap.org."), + PTR(LOCKHEED_IPV4, "lockheed.openstreetmap.org."), + PTR(NORBERT_IPV4, "norbert.openstreetmap.org."), + PTR(ODIN_IPV4, "odin.openstreetmap.org."), + PTR(SPIKE06_IPV4, "spike-06.openstreetmap.org."), + PTR(SPIKE07_IPV4, "spike-07.openstreetmap.org."), + PTR(SPIKE08_IPV4, "spike-08.openstreetmap.org."), + PTR(TABALUGA_IPV4, "tabaluga.openstreetmap.org."), + PTR(VHAGAR_IPV4, "vhagar.openstreetmap.org."), + PTR(SWITCH1AMS_IPV4, "switch1.ams.openstreetmap.org.") ); diff --git a/src/ptr_equinix_dub_ipv4.js b/src/ptr_equinix_dub_ipv4.js index 401c4b0..ff073e9 100644 --- a/src/ptr_equinix_dub_ipv4.js +++ b/src/ptr_equinix_dub_ipv4.js @@ -1,18 +1,18 @@ // http://www.he.net/adm/reverse.dns.html (RFC4183 notation) D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER), - PTR(CULEBRE_IPV4.split(".").pop(), "culebre.openstreetmap.org."), - PTR(FAFNIR_IPV4.split(".").pop(), "fafnir.openstreetmap.org."), - PTR(FUME_IPV4.split(".").pop(), "fume.openstreetmap.org."), - PTR(GRISU_IPV4.split(".").pop(), "grisu.openstreetmap.org."), - PTR(HORNTAIL_IPV4.split(".").pop(), "horntail.openstreetmap.org."), - PTR(IDRIS_IPV4.split(".").pop(), "idris.openstreetmap.org."), - PTR(KONQI_IPV4.split(".").pop(), "konqi.openstreetmap.org."), - PTR(LONGMA_IPV4.split(".").pop(), "longma.openstreetmap.org."), - PTR(MUIRDRIS_IPV4.split(".").pop(), "muirdris.openstreetmap.org."), - PTR(NAGA_IPV4.split(".").pop(), "naga.openstreetmap.org."), - PTR(SMAUG_IPV4.split(".").pop(), "smaug.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(SWITCH1DUB_IPV4.split(".").pop(), "switch1.dub.openstreetmap.org.") + PTR(CULEBRE_IPV4, "culebre.openstreetmap.org."), + PTR(FAFNIR_IPV4, "fafnir.openstreetmap.org."), + PTR(FUME_IPV4, "fume.openstreetmap.org."), + PTR(GRISU_IPV4, "grisu.openstreetmap.org."), + PTR(HORNTAIL_IPV4, "horntail.openstreetmap.org."), + PTR(IDRIS_IPV4, "idris.openstreetmap.org."), + PTR(KONQI_IPV4, "konqi.openstreetmap.org."), + PTR(LONGMA_IPV4, "longma.openstreetmap.org."), + PTR(MUIRDRIS_IPV4, "muirdris.openstreetmap.org."), + PTR(NAGA_IPV4, "naga.openstreetmap.org."), + PTR(SMAUG_IPV4, "smaug.openstreetmap.org."), + PTR(SPIKE01_IPV4, "spike-01.openstreetmap.org."), + PTR(SPIKE02_IPV4, "spike-02.openstreetmap.org."), + PTR(SPIKE03_IPV4, "spike-03.openstreetmap.org."), + PTR(SWITCH1DUB_IPV4, "switch1.dub.openstreetmap.org.") ); diff --git a/src/ptr_he_dub_ipv4.js b/src/ptr_he_dub_ipv4.js index 2295810..407a989 100644 --- a/src/ptr_he_dub_ipv4.js +++ b/src/ptr_he_dub_ipv4.js @@ -1,18 +1,18 @@ // http://www.he.net/adm/reverse.dns.html (RFC4183 notation) D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER), - PTR(CULEBRE_IPV4_HE.split(".").pop(), "culebre.openstreetmap.org."), - PTR(FAFNIR_IPV4_HE.split(".").pop(), "fafnir.openstreetmap.org."), - PTR(FUME_IPV4_HE.split(".").pop(), "fume.openstreetmap.org."), - PTR(GRISU_IPV4_HE.split(".").pop(), "grisu.openstreetmap.org."), - PTR(HORNTAIL_IPV4_HE.split(".").pop(), "horntail.openstreetmap.org."), - PTR(IDRIS_IPV4_HE.split(".").pop(), "idris.openstreetmap.org."), - PTR(KONQI_IPV4_HE.split(".").pop(), "konqi.openstreetmap.org."), - PTR(LONGMA_IPV4_HE.split(".").pop(), "longma.openstreetmap.org."), - PTR(MUIRDRIS_IPV4_HE.split(".").pop(), "muirdris.openstreetmap.org."), - PTR(NAGA_IPV4_HE.split(".").pop(), "naga.openstreetmap.org."), - PTR(SMAUG_IPV4_HE.split(".").pop(), "smaug.openstreetmap.org."), - PTR(SPIKE01_IPV4_HE.split(".").pop(), "spike-01.openstreetmap.org."), - PTR(SPIKE02_IPV4_HE.split(".").pop(), "spike-02.openstreetmap.org."), - PTR(SPIKE03_IPV4_HE.split(".").pop(), "spike-03.openstreetmap.org."), - PTR(SWITCH1DUB_IPV4_HE.split(".").pop(), "switch1.dub.openstreetmap.org.") + PTR(CULEBRE_IPV4_HE, "culebre.openstreetmap.org."), + PTR(FAFNIR_IPV4_HE, "fafnir.openstreetmap.org."), + PTR(FUME_IPV4_HE, "fume.openstreetmap.org."), + PTR(GRISU_IPV4_HE, "grisu.openstreetmap.org."), + PTR(HORNTAIL_IPV4_HE, "horntail.openstreetmap.org."), + PTR(IDRIS_IPV4_HE, "idris.openstreetmap.org."), + PTR(KONQI_IPV4_HE, "konqi.openstreetmap.org."), + PTR(LONGMA_IPV4_HE, "longma.openstreetmap.org."), + PTR(MUIRDRIS_IPV4_HE, "muirdris.openstreetmap.org."), + PTR(NAGA_IPV4_HE, "naga.openstreetmap.org."), + PTR(SMAUG_IPV4_HE, "smaug.openstreetmap.org."), + PTR(SPIKE01_IPV4_HE, "spike-01.openstreetmap.org."), + PTR(SPIKE02_IPV4_HE, "spike-02.openstreetmap.org."), + PTR(SPIKE03_IPV4_HE, "spike-03.openstreetmap.org."), + PTR(SWITCH1DUB_IPV4_HE, "switch1.dub.openstreetmap.org.") );