]> git.openstreetmap.org Git - dns.git/commitdiff
Add reverse DNS zones for Amsterdam
authorTom Hughes <tom@compton.nu>
Sat, 10 Jun 2023 09:40:30 +0000 (10:40 +0100)
committerTom Hughes <tom@compton.nu>
Sat, 10 Jun 2023 09:41:29 +0000 (10:41 +0100)
dnsconfig.js
src/ptr_equinix_ams_ipv4.js [new file with mode: 0644]
src/ptr_equinix_ams_ipv6.js [new file with mode: 0644]

index 01291cb7c23185ab27ad310491f8b7c8d5bdf5df..ff9516de029dfc03a1eee3249e4360241f955282 100644 (file)
@@ -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 (file)
index 0000000..46e0704
--- /dev/null
@@ -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 (file)
index 0000000..c670fb0
--- /dev/null
@@ -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.")
+);