From: Tom Hughes Date: Thu, 19 Dec 2024 00:41:51 +0000 (+0000) Subject: Add DNS for Equinix uplink addresses X-Git-Url: https://git.openstreetmap.org./dns.git/commitdiff_plain/efdc7aa9f4b790b3d5e4390d5607b3d7179b88a4 Add DNS for Equinix uplink addresses --- diff --git a/dnsconfig.js b/dnsconfig.js index 3a5b1cc..272ef15 100644 --- a/dnsconfig.js +++ b/dnsconfig.js @@ -160,6 +160,22 @@ var PTR_EQUINIX_DUB_IPV6 = loadTemplate("ptr_equinix_dub_ipv6"); PTR_EQUINIX_DUB_IPV6(REV("2001:470:1:b3b::/64"), REG_NONE); +var PTR_EQUINIX_AMS_UPLINK_IPV4 = loadTemplate("ptr_equinix_ams_uplink_ipv4"); + +PTR_EQUINIX_AMS_UPLINK_IPV4("72-29.86.199.82.in-addr.arpa", REG_NONE); + +var PTR_EQUINIX_AMS_UPLINK_IPV6 = loadTemplate("ptr_equinix_ams_uplink_ipv6"); + +PTR_EQUINIX_AMS_UPLINK_IPV6(REV("2001:4d78:500:5e2::/64"), REG_NONE); + +var PTR_EQUINIX_DUB_UPLINK_IPV4 = loadTemplate("ptr_equinix_dub_uplink_ipv4"); + +PTR_EQUINIX_DUB_UPLINK_IPV4("104-29.218.252.87.in-addr.arpa", REG_NONE); + +var PTR_EQUINIX_DUB_UPLINK_IPV6 = loadTemplate("ptr_equinix_dub_uplink_ipv6"); + +PTR_EQUINIX_DUB_UPLINK_IPV6(REV("2001:4d78:fe03:1b::/64"), REG_NONE); + // No immediate plans // External DNS and hosting still up // freethepostcode.org diff --git a/src/hosts.js b/src/hosts.js index ef645ce..963f198 100644 --- a/src/hosts.js +++ b/src/hosts.js @@ -28,6 +28,30 @@ var DULCY_OOB = "10.0.49.9"; var EDDIE_INTERNAL = "10.0.0.10"; var EDDIE_OOB = "10.0.1.10"; +var EQUINIXGWAMS_IPV4 = "82.199.86.73"; +var EQUINIXGWAMS_IPV6 = "2001:4d78:500:5e2::1"; + +var EQUINIXGW1AMS_IPV4 = "82.199.86.74"; +var EQUINIXGW1AMS_IPV6 = "2001:4d78:500:5e2::2"; + +var EQUINIXGW2AMS_IPV4 = "82.199.86.75"; +var EQUINIXGW2AMS_IPV6 = "2001:4d78:500:5e2::3"; + +var EQUINIXOSMAMS_IPV4 = "82.199.86.76"; +var EQUINIXOSMAMS_IPV6 = "2001:4d78:500:5e2::4"; + +var EQUINIXGWDUB_IPV4 = "87.252.218.105"; +var EQUINIXGWDUB_IPV6 = "2001:4d78:fe03:1b::1"; + +var EQUINIXGW1DUB_IPV4 = "87.252.218.106"; +var EQUINIXGW1DUB_IPV6 = "2001:4d78:fe03:1b::2"; + +var EQUINIXGW2DUB_IPV4 = "87.252.218.107"; +var EQUINIXGW2DUB_IPV6 = "2001:4d78:fe03:1b::3"; + +var EQUINIXOSMDUB_IPV4 = "87.252.218.108"; +var EQUINIXOSMDUB_IPV6 = "2001:4d78:fe03:1b::4"; + var FAFFY_IPV4 = "82.199.86.99"; var FAFFY_IPV6 = "2001:4d78:500:5e3::3"; var FAFFY_INTERNAL = "10.0.48.3"; diff --git a/src/openstreetmap.js b/src/openstreetmap.js index 713888b..1bf2cfb 100644 --- a/src/openstreetmap.js +++ b/src/openstreetmap.js @@ -572,6 +572,26 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER), A("oob1.dub", OOB1DUB_INTERNAL), + // Network gateways + + A("equinix-gw.ams", EQUINIXGWAMS_IPV4), + AAAA("equinix-gw.ams", EQUINIXGWAMS_IPV6), + A("equinix-gw-1.ams", EQUINIXGW1AMS_IPV4), + AAAA("equinix-gw-1.ams", EQUINIXGW1AMS_IPV6), + A("equinix-gw-2.ams", EQUINIXGW2AMS_IPV4), + AAAA("equinix-gw-2.ams", EQUINIXGW2AMS_IPV6), + A("equinix-osm.ams", EQUINIXOSMAMS_IPV4), + AAAA("equinix-osm.ams", EQUINIXOSMAMS_IPV6), + + A("equinix-gw.dub", EQUINIXGWDUB_IPV4), + AAAA("equinix-gw.dub", EQUINIXGWDUB_IPV6), + A("equinix-gw-1.dub", EQUINIXGW1DUB_IPV4), + AAAA("equinix-gw-1.dub", EQUINIXGW1DUB_IPV6), + A("equinix-gw-2.dub", EQUINIXGW2DUB_IPV4), + AAAA("equinix-gw-2.dub", EQUINIXGW2DUB_IPV6), + A("equinix-osm.dub", EQUINIXOSMDUB_IPV4), + AAAA("equinix-osm.dub", EQUINIXOSMDUB_IPV6), + // Bytemark machine, and the services which operate from it A("shenron", SHENRON_IPV4), diff --git a/src/ptr_equinix_ams_uplink_ipv4.js b/src/ptr_equinix_ams_uplink_ipv4.js new file mode 100644 index 0000000..8842f32 --- /dev/null +++ b/src/ptr_equinix_ams_uplink_ipv4.js @@ -0,0 +1,6 @@ +D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER), + PTR(EQUINIXGWAMS_IPV4.split(".").pop(), "equinix-gw.ams.openstreetmap.org."), + PTR(EQUINIXGW1AMS_IPV4.split(".").pop(), "equinix-gw-1.ams.openstreetmap.org."), + PTR(EQUINIXGW2AMS_IPV4.split(".").pop(), "equinix-gw-2.ams.openstreetmap.org."), + PTR(EQUINIXOSMAMS_IPV4.split(".").pop(), "equinix-osm.ams.openstreetmap.org.") +); diff --git a/src/ptr_equinix_ams_uplink_ipv6.js b/src/ptr_equinix_ams_uplink_ipv6.js new file mode 100644 index 0000000..bab12cb --- /dev/null +++ b/src/ptr_equinix_ams_uplink_ipv6.js @@ -0,0 +1,6 @@ +D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER), + PTR(EQUINIXGWAMS_IPV6, "equinix-gw.ams.openstreetmap.org."), + PTR(EQUINIXGW1AMS_IPV6, "equinix-gw-1.ams.openstreetmap.org."), + PTR(EQUINIXGW2AMS_IPV6, "equinix-gw-2.ams.openstreetmap.org."), + PTR(EQUINIXOSMAMS_IPV6, "equinix-osm.ams.openstreetmap.org.") +); diff --git a/src/ptr_equinix_dub_uplink_ipv4.js b/src/ptr_equinix_dub_uplink_ipv4.js new file mode 100644 index 0000000..9e5b8e9 --- /dev/null +++ b/src/ptr_equinix_dub_uplink_ipv4.js @@ -0,0 +1,6 @@ +D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER), + PTR(EQUINIXGWDUB_IPV4.split(".").pop(), "equinix-gw.dub.openstreetmap.org."), + PTR(EQUINIXGW1DUB_IPV4.split(".").pop(), "equinix-gw-1.dub.openstreetmap.org."), + PTR(EQUINIXGW2DUB_IPV4.split(".").pop(), "equinix-gw-2.dub.openstreetmap.org."), + PTR(EQUINIXOSMDUB_IPV4.split(".").pop(), "equinix-osm.dub.openstreetmap.org.") +); diff --git a/src/ptr_equinix_dub_uplink_ipv6.js b/src/ptr_equinix_dub_uplink_ipv6.js new file mode 100644 index 0000000..36dcc89 --- /dev/null +++ b/src/ptr_equinix_dub_uplink_ipv6.js @@ -0,0 +1,6 @@ +D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER), + PTR(EQUINIXGWDUB_IPV6, "equinix-gw.dub.openstreetmap.org."), + PTR(EQUINIXGW1DUB_IPV6, "equinix-gw-1.dub.openstreetmap.org."), + PTR(EQUINIXGW2DUB_IPV6, "equinix-gw-2.dub.openstreetmap.org."), + PTR(EQUINIXOSMDUB_IPV6, "equinix-osm.dub.openstreetmap.org.") +);