Skip to content

Commit

Permalink
Add DNS for Equinix uplink addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Dec 19, 2024
1 parent 34ed1ce commit efdc7aa
Show file tree
Hide file tree
Showing 7 changed files with 84 additions and 0 deletions.
16 changes: 16 additions & 0 deletions dnsconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
24 changes: 24 additions & 0 deletions src/hosts.js
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
20 changes: 20 additions & 0 deletions src/openstreetmap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down
6 changes: 6 additions & 0 deletions src/ptr_equinix_ams_uplink_ipv4.js
Original file line number Diff line number Diff line change
@@ -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.")
);
6 changes: 6 additions & 0 deletions src/ptr_equinix_ams_uplink_ipv6.js
Original file line number Diff line number Diff line change
@@ -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.")
);
6 changes: 6 additions & 0 deletions src/ptr_equinix_dub_uplink_ipv4.js
Original file line number Diff line number Diff line change
@@ -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.")
);
6 changes: 6 additions & 0 deletions src/ptr_equinix_dub_uplink_ipv6.js
Original file line number Diff line number Diff line change
@@ -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.")
);

0 comments on commit efdc7aa

Please sign in to comment.