Factor out host addresses to a set of constants
authorTom Hughes <tom@compton.nu>
Sun, 9 Feb 2020 21:01:10 +0000 (21:01 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 9 Feb 2020 21:06:00 +0000 (21:06 +0000)
dnsconfig.js
src/hosts.js [new file with mode: 0644]
src/opengeodata.js
src/openstreetmap-uk.js
src/openstreetmap-za.js
src/openstreetmap.js
src/osmfoundation.js
src/stateofthemap.js
src/switch2osm.js

index a2b012b..ded7e7d 100644 (file)
@@ -28,6 +28,8 @@ function loadTemplate(template) {
   };
 }
 
+require("src/hosts.js");
+
 var OPENSTREETMAP = loadTemplate("openstreetmap");
 
 require("include/sshfp.js");
diff --git a/src/hosts.js b/src/hosts.js
new file mode 100644 (file)
index 0000000..a603f2a
--- /dev/null
@@ -0,0 +1,309 @@
+var ANGOR_IPV4 = "196.10.54.165";
+var ANGOR_IPV6 = "2001:43f8:1f4:b00:b283:feff:fed8:dd45";
+
+var ASCALON_IPV4 = "184.107.48.228";
+
+var BALERION_IPV4 = "138.44.68.134";
+
+var BOITATA_IPV4 = "200.236.31.207";
+var BOITATA_IPV6 = "2801:82:80ff:8002:216:ccff:feaa:21";
+
+var BOWSER_IPV4 = "138.44.68.106";
+
+var CHERUFE_IPV4 = "200.91.44.37";
+
+var CHRYSOPHYLAX_IPV4 = "217.71.244.22";
+var CHRYSOPHYLAX_IPV6 = "2001:8e0:40:2039::10";
+
+var CLIFFORD_IPV4 = "193.60.236.11";
+var CLIFFORD_INTERNAL = "10.0.0.17";
+var CLIFFORD_OOB = "10.0.1.17";
+
+var CMOK_IPV4 = "31.130.201.40";
+var CMOK_IPV6 = "2001:67c:2268:1005:21e:8cff:fe8c:8d3b";
+
+var CULEBRE_IPV4 = "155.210.4.103";
+var CULEBRE_INTERNAL = "10.148.97.151";
+
+var DRACO_IPV4 = "193.60.236.12";
+var DRACO_INTERNAL = "10.0.0.11";
+var DRACO_OOB = "10.0.1.11";
+
+var DROGON_IPV4 = "161.53.30.107";
+var DROGON_IPV6 = "2001:b68:c0ff:0:221:5eff:fe40:c7c4";
+
+var DULCY_IPV4 = "130.117.76.9";
+var DULCY_IPV6 = "2001:978:2:2c::172:9";
+var DULCY_INTERNAL = "10.0.48.9";
+var DULCY_OOB = "10.0.49.9";
+
+var EDDIE_INTERNAL = "10.0.0.10";
+var EDDIE_OOB = "10.0.1.10";
+
+var ERROL_IPV4 = "193.60.236.13";
+var ERROL_INTERNAL = "10.0.0.14";
+var ERROL_OOB = "10.0.1.14";
+
+var EUSTACE_IPV4 = "193.60.236.14";
+var EUSTACE_INTERNAL = "10.0.0.9";
+var EUSTACE_OOB = "10.0.1.9";
+
+var FAFNIR_IPV4 = "130.239.18.114";
+var FAFNIR_IPV6 = "2001:6b0:e:2a18::114";
+
+var FUME_IPV4 = "147.228.60.16";
+
+var GORYNYCH_IPV4 = "5.45.248.21";
+var GORYNYCH_IPV6 = "2a02:6b8:b010:5065::a001";
+
+var GRINDTOOTH_IPV4 = "193.60.236.15";
+var GRINDTOOTH_INTERNAL = "10.0.0.19";
+var GRINDTOOTH_OOB = "10.0.1.19";
+
+var GRISU_IPV4 = "89.16.162.20";
+var GRISU_IPV6 = "2001:41c9:2:d6::20";
+var GRISU_INTERNAL = "10.0.32.20";
+var GRISU_OOB = "10.0.33.20";
+
+var IRONBELLY_IPV4 = "130.117.76.10";
+var IRONBELLY_IPV6 = "2001:978:2:2c::172:a";
+var IRONBELLY_INTERNAL = "10.0.48.10";
+var IRONBELLY_OOB = "10.0.49.10";
+
+var JAKELONG_IPV4 = "71.19.155.177";
+var JAKELONG_IPV6 = "2605:2700:0:17:a800:ff:fe3e:cdca";
+
+var KALESSIN_IPV4 = "185.66.195.245";
+var KALESSIN_IPV6 = "2a03:2260:2000:1::5";
+
+var KARM_INTERNAL = "10.0.48.50";
+var KARM_OOB = "10.0.49.50";
+
+var KATIE_IPV4 = "144.76.70.77";
+var KATIE_IPV6 = "2a01:4f8:191:834c::2";
+
+var KATLA_INTERNAL = "10.0.32.40";
+var KATLA_OOB = "10.0.33.40";
+
+var KEIZER_IPV4 = "195.201.226.63";
+var KEIZER_IPV6 = "2a01:4f8:1c1c:bc54::1";
+
+var KESSIE_IPV4 = "178.250.74.36";
+var KESSIE_IPV6 = "2a02:1658:4:0:dad3:85ff:fe5d:875e";
+var KESSIE_OOB = "178.250.74.37";
+
+var KONQI_IPV4 = "81.7.11.83";
+var KONQI_IPV6 = "2a02:180:1:1::517:b53";
+
+var KVM1_INTERNAL = "10.0.0.21";
+
+var LADON_IPV4 = "83.212.2.116";
+var LADON_IPV6 = "2001:648:2ffe:4::116";
+
+var LONGMA_IPV4 = "140.110.240.7";
+var LONGMA_IPV6 = "2001:e10:2000:240::7";
+
+var NAGA_IPV4 = "185.116.130.151";
+
+var NECROSAN_IPV4 = "80.67.167.77";
+var NECROSAN_IPV6 = "2a0b:cbc0:110d:1::1c";
+
+var NEPOMUK_IPV4 = "77.95.65.39";
+var NEPOMUK_IPV6 = "2a03:9180:0:100::7";
+
+var NIDHOGG_IPV4 = "130.236.254.221";
+var NIDHOGG_IPV6 = "2001:6b0:17:f0a0::dd";
+
+var NOOMOAHK_IPV4 = "91.224.148.166";
+var NOOMOAHK_IPV6 = "2a03:7220:8080:a600::1";
+
+var NOQUIKLOS_IPV4 = "193.60.236.16";
+var NOQUIKLOS_INTERNAL = "10.0.0.13";
+var NOQUIKLOS_OOB = "10.0.1.13";
+
+var NORBERT_IPV4 = "89.234.186.100";
+var NORBERT_IPV6 = "2a00:5884:821c::1";
+
+var ODIN_IPV4 = "130.117.76.15";
+var ODIN_IPV6 = "2001:978:2:2c::172:f";
+var ODIN_INTERNAL = "10.0.48.15";
+var ODIN_OOB = "10.0.49.15";
+
+var ORM_IPV4 = "130.117.76.3";
+var ORM_IPV6 = "2001:978:2:2c::172:3";
+var ORM_INTERNAL = "10.0.48.3";
+var ORM_OOB = "10.0.49.3";
+
+var PDU1_INTERNAL = "10.0.48.100";
+
+var PDU2_INTERNAL = "10.0.48.101";
+
+var PUMMELZACKEN_IPV4 = "193.60.236.18";
+var PUMMELZACKEN_INTERNAL = "10.0.0.20";
+var PUMMELZACKEN_OOB = "10.0.1.20";
+
+var PYRENE_IPV4 = "140.211.167.98";
+var PYRENE_IPV6 = "2605:bc80:3010:700::8cd3:a762";
+
+var RAMOTH_INTERNAL = "10.0.48.5";
+var RAMOTH_OOB = "10.0.49.5";
+
+var RHAEGAL_IPV4 = "161.53.248.77";
+
+var RIDGEBACK_IPV4 = "31.169.50.10";
+var RIDGEBACK_OOB = "31.169.50.14";
+
+var RIDLEY_IPV4 = "193.60.236.19";
+var RIDLEY_INTERNAL = "10.0.0.3";
+var RIDLEY_OOB = "10.0.1.3";
+
+var RIMFAXE_IPV4 = "130.225.254.109";
+var RIMFAXE_IPV6 = "2001:878:346::109";
+
+var SAPHIRA_IPV4 = "185.73.44.30";
+var SAPHIRA_IPV6 = "2001:ba8:0:2c1e::";
+
+var SAREL_IPV4 = "193.60.236.20";
+var SAREL_INTERNAL = "10.0.0.12";
+var SAREL_OOB = "10.0.1.12";
+
+var SARKANY_IPV4 = "37.17.173.8";
+var SARKANY_IPV6 = "2001:4c48:2:bf04:250:56ff:fe8f:5c81";
+
+var SCORCH_IPV4 = "176.31.235.79";
+var SCORCH_IPV6 = "2001:41d0:2:fc4f::1";
+
+var SHENRON_IPV4 = "212.110.172.32";
+var SHENRON_IPV6 = "2001:41c9:1:400::32";
+var SHENRON_INTERNAL = "10.0.16.3";
+
+var SIMURGH_IPV4 = "94.20.20.55";
+
+var SPIKE04_IPV4 = "89.16.162.21";
+var SPIKE04_IPV6 = "2001:41c9:2:d6::21";
+var SPIKE04_INTERNAL = "10.0.32.21";
+var SPIKE04_OOB = "10.0.33.21";
+
+var SPIKE05_IPV4 = "89.16.162.22";
+var SPIKE05_IPV6 = "2001:41c9:2:d6::22";
+var SPIKE05_INTERNAL = "10.0.32.22";
+var SPIKE05_OOB = "10.0.33.22";
+
+var SPIKE06_IPV4 = "130.117.76.11";
+var SPIKE06_IPV6 = "2001:978:2:2c::172:b";
+var SPIKE06_INTERNAL = "10.0.48.11";
+var SPIKE06_OOB = "10.0.49.11";
+
+var SPIKE07_IPV4 = "130.117.76.12";
+var SPIKE07_IPV6 = "2001:978:2:2c::172:c";
+var SPIKE07_INTERNAL = "10.0.48.12";
+var SPIKE07_OOB = "10.0.49.12";
+
+var SPIKE08_IPV4 = "130.117.76.13";
+var SPIKE08_IPV6 = "2001:978:2:2c::172:d";
+var SPIKE08_INTERNAL = "10.0.48.13";
+var SPIKE08_OOB = "10.0.49.13";
+
+var STORMFLY01_IPV4 = "140.211.167.104";
+var STORMFLY01_IPV6 = "2605:bc80:3010:700::8cde:a768";
+var STORMFLY01_OOB = "10.0.0.99";
+
+var STORMFLY02_IPV4 = "140.211.167.105";
+var STORMFLY02_IPV6 = "2605:bc80:3010:700::8cde:a769";
+var STORMFLY02_OOB = "10.0.0.108";
+
+var SWITCH1_IPV4 = "130.117.76.2";
+var SWITCH1_IPV6 = "2001:978:2:2c::172:2";
+
+var TABALUGA_IPV4 = "130.117.76.14";
+var TABALUGA_IPV6 = "2001:978:2:2c::172:e";
+var TABALUGA_INTERNAL = "10.0.48.14";
+var TABALUGA_OOB = "10.0.49.14";
+
+var THORN01_INTERNAL = "10.0.48.51";
+var THORN01_OOB = "10.0.49.51";
+
+var THORN02_INTERNAL = "10.0.48.52";
+var THORN02_OOB = "10.0.49.52";
+
+var THORN03_INTERNAL = "10.0.48.53";
+var THORN03_OOB = "10.0.49.53";
+
+var THORN04_INTERNAL = "10.0.32.41";
+var THORN04_OOB = "10.0.33.41";
+
+var THORN05_INTERNAL = "10.0.32.42";
+var THORN05_OOB = "10.0.33.42";
+
+var TIAMAT00_IPV4 = "193.60.236.40";
+var TIAMAT00_INTERNAL = "10.0.0.40";
+var TIAMAT00_OOB = "10.0.1.40";
+
+var TIAMAT01_IPV4 = "193.60.236.41";
+var TIAMAT01_INTERNAL = "10.0.0.41";
+var TIAMAT01_OOB = "10.0.1.41";
+
+var TIAMAT02_IPV4 = "193.60.236.42";
+var TIAMAT02_INTERNAL = "10.0.0.42";
+var TIAMAT02_OOB = "10.0.1.42";
+
+var TIAMAT03_IPV4 = "193.60.236.43";
+var TIAMAT03_INTERNAL = "10.0.0.43";
+var TIAMAT03_OOB = "10.0.1.43";
+
+var TIAMAT10_IPV4 = "193.60.236.44";
+var TIAMAT10_INTERNAL = "10.0.0.44";
+var TIAMAT10_OOB = "10.0.1.44";
+
+var TIAMAT11_IPV4 = "193.60.236.45";
+var TIAMAT11_INTERNAL = "10.0.0.45";
+var TIAMAT11_OOB = "10.0.1.45";
+
+var TIAMAT12_IPV4 = "193.60.236.46";
+var TIAMAT12_INTERNAL = "10.0.0.46";
+var TIAMAT12_OOB = "10.0.1.46";
+
+var TIAMAT13_IPV4 = "193.60.236.47";
+var TIAMAT13_INTERNAL = "10.0.0.47";
+var TIAMAT13_OOB = "10.0.1.47";
+
+var TIAMAT20_IPV4 = "193.60.236.48";
+var TIAMAT20_INTERNAL = "10.0.0.48";
+var TIAMAT20_OOB = "10.0.1.48";
+
+var TIAMAT21_IPV4 = "193.60.236.49";
+var TIAMAT21_INTERNAL = "10.0.0.49";
+var TIAMAT21_OOB = "10.0.1.49";
+
+var TIAMAT22_IPV4 = "193.60.236.50";
+var TIAMAT22_INTERNAL = "10.0.0.50";
+var TIAMAT22_OOB = "10.0.1.50";
+
+var TIAMAT23_IPV4 = "193.60.236.51";
+var TIAMAT23_INTERNAL = "10.0.0.51";
+var TIAMAT23_OOB = "10.0.1.51";
+
+var TOOTHLESS_IPV4 = "185.73.44.167";
+var TOOTHLESS_IPV6 = "2001:ba8:0:2ca7::";
+
+var TROGDOR_IPV4 = "134.90.146.26";
+var TROGDOR_OOB = "134.90.146.30";
+
+var TUATARA_IPV4 = "114.23.141.203";
+var TUATARA_IPV6 = "2406:1e00:b410:c24:529a:4cff:fe79:bc3b";
+
+var URMEL_IPV4 = "193.60.236.21";
+var URMEL_INTERNAL = "10.0.0.6";
+var URMEL_OOB = "10.0.1.6";
+
+var VIPERTOOTH_IPV4 = "176.122.99.101";
+var VIPERTOOTH_IPV6 = "2001:67c:2d40::65";
+
+var VISERION_IPV4 = "193.198.233.211";
+var VISERION_IPV6 = "2001:b68:4cff:3::3";
+
+var WAIMA_IPV4 = "103.197.61.160";
+
+var YSERA_IPV4 = "193.60.236.22";
+var YSERA_INTERNAL = "10.0.0.15";
+var YSERA_OOB = "10.0.1.15";
index 815b840..6dfc203 100644 (file)
@@ -8,8 +8,8 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
 
   // Main web server and it's aliases
 
-  A("@", "193.60.236.19", TTL("10m")),
-  A("old", "193.60.236.19", TTL("10m")),
-  A("www", "193.60.236.19", TTL("10m"))
+  A("@", RIDLEY_IPV4, TTL("10m")),
+  A("old", RIDLEY_IPV4, TTL("10m")),
+  A("www", RIDLEY_IPV4, TTL("10m"))
 
 );
index 492e695..bfed62e 100644 (file)
@@ -30,40 +30,40 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
 
   // Aerial imagery sites
 
-  A("hampshire.aerial", "178.250.74.36", TTL("1h")),
-  AAAA("hampshire.aerial", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
-  A("a.hampshire.aerial", "178.250.74.36", TTL("1h")),
-  AAAA("a.hampshire.aerial", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
-  A("b.hampshire.aerial", "178.250.74.36", TTL("1h")),
-  AAAA("b.hampshire.aerial", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
-  A("c.hampshire.aerial", "178.250.74.36", TTL("1h")),
-  AAAA("c.hampshire.aerial", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
-
-  A("surrey.aerial", "178.250.74.36", TTL("1h")),
-  AAAA("surrey.aerial", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
-  A("a.surrey.aerial", "178.250.74.36", TTL("1h")),
-  AAAA("a.surrey.aerial", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
-  A("b.surrey.aerial", "178.250.74.36", TTL("1h")),
-  AAAA("b.surrey.aerial", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
-  A("c.surrey.aerial", "178.250.74.36", TTL("1h")),
-  AAAA("c.surrey.aerial", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
-
-  A("os", "178.250.74.36", TTL("1h")),
-  AAAA("os", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
-  A("a.os", "178.250.74.36", TTL("1h")),
-  AAAA("a.os", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
-  A("b.os", "178.250.74.36", TTL("1h")),
-  AAAA("b.os", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
-  A("c.os", "178.250.74.36", TTL("1h")),
-  AAAA("c.os", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
-
-  A("ea", "178.250.74.36", TTL("1h")),
-  AAAA("ea", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
-  A("a.ea", "178.250.74.36", TTL("1h")),
-  AAAA("a.ea", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
-  A("b.ea", "178.250.74.36", TTL("1h")),
-  AAAA("b.ea", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
-  A("c.ea", "178.250.74.36", TTL("1h")),
-  AAAA("c.ea", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h"))
+  A("hampshire.aerial", KESSIE_IPV4, TTL("1h")),
+  AAAA("hampshire.aerial", KESSIE_IPV6, TTL("1h")),
+  A("a.hampshire.aerial", KESSIE_IPV4, TTL("1h")),
+  AAAA("a.hampshire.aerial", KESSIE_IPV6, TTL("1h")),
+  A("b.hampshire.aerial", KESSIE_IPV4, TTL("1h")),
+  AAAA("b.hampshire.aerial", KESSIE_IPV6, TTL("1h")),
+  A("c.hampshire.aerial", KESSIE_IPV4, TTL("1h")),
+  AAAA("c.hampshire.aerial", KESSIE_IPV6, TTL("1h")),
+
+  A("surrey.aerial", KESSIE_IPV4, TTL("1h")),
+  AAAA("surrey.aerial", KESSIE_IPV6, TTL("1h")),
+  A("a.surrey.aerial", KESSIE_IPV4, TTL("1h")),
+  AAAA("a.surrey.aerial", KESSIE_IPV6, TTL("1h")),
+  A("b.surrey.aerial", KESSIE_IPV4, TTL("1h")),
+  AAAA("b.surrey.aerial", KESSIE_IPV6, TTL("1h")),
+  A("c.surrey.aerial", KESSIE_IPV4, TTL("1h")),
+  AAAA("c.surrey.aerial", KESSIE_IPV6, TTL("1h")),
+
+  A("os", KESSIE_IPV4, TTL("1h")),
+  AAAA("os", KESSIE_IPV6, TTL("1h")),
+  A("a.os", KESSIE_IPV4, TTL("1h")),
+  AAAA("a.os", KESSIE_IPV6, TTL("1h")),
+  A("b.os", KESSIE_IPV4, TTL("1h")),
+  AAAA("b.os", KESSIE_IPV6, TTL("1h")),
+  A("c.os", KESSIE_IPV4, TTL("1h")),
+  AAAA("c.os", KESSIE_IPV6, TTL("1h")),
+
+  A("ea", KESSIE_IPV4, TTL("1h")),
+  AAAA("ea", KESSIE_IPV6, TTL("1h")),
+  A("a.ea", KESSIE_IPV4, TTL("1h")),
+  AAAA("a.ea", KESSIE_IPV6, TTL("1h")),
+  A("b.ea", KESSIE_IPV4, TTL("1h")),
+  AAAA("b.ea", KESSIE_IPV6, TTL("1h")),
+  A("c.ea", KESSIE_IPV4, TTL("1h")),
+  AAAA("c.ea", KESSIE_IPV6, TTL("1h"))
 
 );
index 8438475..b8904b5 100644 (file)
@@ -26,38 +26,38 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
 
   // Aerial imagery sites on draco
 
-  A("aerial", "193.60.236.12", TTL("10m")),
-  A("a.aerial", "193.60.236.12", TTL("10m")),
-  A("b.aerial", "193.60.236.12", TTL("10m")),
-  A("c.aerial", "193.60.236.12", TTL("10m")),
+  A("aerial", DRACO_IPV4, TTL("10m")),
+  A("a.aerial", DRACO_IPV4, TTL("10m")),
+  A("b.aerial", DRACO_IPV4, TTL("10m")),
+  A("c.aerial", DRACO_IPV4, TTL("10m")),
 
   // Aerial imagery sites on kessie
 
-  A("coct.aerial", "178.250.74.36", TTL("30m")),
-  AAAA("coct.aerial", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("30m")),
-  A("a.coct.aerial", "178.250.74.36", TTL("30m")),
-  AAAA("a.coct.aerial", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("30m")),
-  A("b.coct.aerial", "178.250.74.36", TTL("30m")),
-  AAAA("b.coct.aerial", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("30m")),
-  A("c.coct.aerial", "178.250.74.36", TTL("30m")),
-  AAAA("c.coct.aerial", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("30m")),
-
-  A("topo", "178.250.74.36", TTL("30m")),
-  AAAA("topo", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("30m")),
-  A("a.topo", "178.250.74.36", TTL("30m")),
-  AAAA("a.topo", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("30m")),
-  A("b.topo", "178.250.74.36", TTL("30m")),
-  AAAA("b.topo", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("30m")),
-  A("c.topo", "178.250.74.36", TTL("30m")),
-  AAAA("c.topo", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("30m")),
-
-  A("namibia-topo", "178.250.74.36", TTL("30m")),
-  AAAA("namibia-topo", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("30m")),
-  A("a.namibia-topo", "178.250.74.36", TTL("30m")),
-  AAAA("a.namibia-topo", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("30m")),
-  A("b.namibia-topo", "178.250.74.36", TTL("30m")),
-  AAAA("b.namibia-topo", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("30m")),
-  A("c.namibia-topo", "178.250.74.36", TTL("30m")),
-  AAAA("c.namibia-topo", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("30m"))
+  A("coct.aerial", KESSIE_IPV4, TTL("30m")),
+  AAAA("coct.aerial", KESSIE_IPV6, TTL("30m")),
+  A("a.coct.aerial", KESSIE_IPV4, TTL("30m")),
+  AAAA("a.coct.aerial", KESSIE_IPV6, TTL("30m")),
+  A("b.coct.aerial", KESSIE_IPV4, TTL("30m")),
+  AAAA("b.coct.aerial", KESSIE_IPV6, TTL("30m")),
+  A("c.coct.aerial", KESSIE_IPV4, TTL("30m")),
+  AAAA("c.coct.aerial", KESSIE_IPV6, TTL("30m")),
+
+  A("topo", KESSIE_IPV4, TTL("30m")),
+  AAAA("topo", KESSIE_IPV6, TTL("30m")),
+  A("a.topo", KESSIE_IPV4, TTL("30m")),
+  AAAA("a.topo", KESSIE_IPV6, TTL("30m")),
+  A("b.topo", KESSIE_IPV4, TTL("30m")),
+  AAAA("b.topo", KESSIE_IPV6, TTL("30m")),
+  A("c.topo", KESSIE_IPV4, TTL("30m")),
+  AAAA("c.topo", KESSIE_IPV6, TTL("30m")),
+
+  A("namibia-topo", KESSIE_IPV4, TTL("30m")),
+  AAAA("namibia-topo", KESSIE_IPV6, TTL("30m")),
+  A("a.namibia-topo", KESSIE_IPV4, TTL("30m")),
+  AAAA("a.namibia-topo", KESSIE_IPV6, TTL("30m")),
+  A("b.namibia-topo", KESSIE_IPV4, TTL("30m")),
+  AAAA("b.namibia-topo", KESSIE_IPV6, TTL("30m")),
+  A("c.namibia-topo", KESSIE_IPV4, TTL("30m")),
+  AAAA("c.namibia-topo", KESSIE_IPV6, TTL("30m"))
 
 );
index 90c1a1d..f28ca8d 100644 (file)
@@ -12,8 +12,8 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
   MX("messages", 10, QUALIFY("a.mx")),
   MX("noreply", 10, QUALIFY("a.mx")),
   MX("otrs", 10, QUALIFY("a.mx")),
-  A("a.mx", "212.110.172.32"),
-  AAAA("a.mx", "2001:41c9:1:400::32"),
+  A("a.mx", SHENRON_IPV4),
+  AAAA("a.mx", SHENRON_IPV6),
 
   // Publish SPF records indicating that only shenron sends mail
 
@@ -47,156 +47,156 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
 
   // Main web servers and their aliases
 
-  A("spike-04", "89.16.162.21"),
-  AAAA("spike-04", "2001:41c9:2:d6::21"),
-  // A("@", "89.16.162.21", TTL("10m")),
-  // AAAA("@", "2001:41c9:2:d6::21", TTL("10m")),
-  // A("www", "89.16.162.21", TTL("10m")),
-  // AAAA("www", "2001:41c9:2:d6::21", TTL("10m")),
-  // A("api", "89.16.162.21", TTL("10m")),
-  // AAAA("api", "2001:41c9:2:d6::21", TTL("10m")),
-  // A("maps", "89.16.162.21", TTL("10m")),
-  // AAAA("maps", "2001:41c9:2:d6::21", TTL("10m")),
-  // A("mapz", "89.16.162.21", TTL("10m")),
-  // AAAA("mapz", "2001:41c9:2:d6::21", TTL("10m")),
-  A("spike-04.bm", "10.0.32.21"),
-  A("spike-04.oob", "10.0.33.21"),
-
-  A("spike-05", "89.16.162.22"),
-  AAAA("spike-05", "2001:41c9:2:d6::22"),
-  // A("@", "89.16.162.22", TTL("10m")),
-  // AAAA("@", "2001:41c9:2:d6::22", TTL("10m")),
-  // A("www", "89.16.162.22", TTL("10m")),
-  // AAAA("www", "2001:41c9:2:d6::22", TTL("10m")),
-  // A("api", "89.16.162.22", TTL("10m")),
-  // AAAA("api", "2001:41c9:2:d6::22", TTL("10m")),
-  // A("maps", "89.16.162.22", TTL("10m")),
-  // AAAA("maps", "2001:41c9:2:d6::22", TTL("10m")),
-  // A("mapz", "89.16.162.22", TTL("10m")),
-  // AAAA("mapz", "2001:41c9:2:d6::22", TTL("10m")),
-  A("spike-05.bm", "10.0.32.22"),
-  A("spike-05.oob", "10.0.33.22"),
-
-  A("spike-06", "130.117.76.11"),
-  AAAA("spike-06", "2001:978:2:2c::172:B"),
-  A("@", "130.117.76.11", TTL("10m")),
-  AAAA("@", "2001:978:2:2c::172:B", TTL("10m")),
-  A("www", "130.117.76.11", TTL("10m")),
-  AAAA("www", "2001:978:2:2c::172:B", TTL("10m")),
-  A("api", "130.117.76.11", TTL("10m")),
-  AAAA("api", "2001:978:2:2c::172:B", TTL("10m")),
-  A("maps", "130.117.76.11", TTL("10m")),
-  AAAA("maps", "2001:978:2:2c::172:B", TTL("10m")),
-  A("mapz", "130.117.76.11", TTL("10m")),
-  AAAA("mapz", "2001:978:2:2c::172:B", TTL("10m")),
-  A("spike-06.ams", "10.0.48.11"),
-  A("spike-06.oob", "10.0.49.11"),
-
-  A("spike-07", "130.117.76.12"),
-  AAAA("spike-07", "2001:978:2:2c::172:C"),
-  A("@", "130.117.76.12", TTL("10m")),
-  AAAA("@", "2001:978:2:2c::172:C", TTL("10m")),
-  A("www", "130.117.76.12", TTL("10m")),
-  AAAA("www", "2001:978:2:2c::172:C", TTL("10m")),
-  A("api", "130.117.76.12", TTL("10m")),
-  AAAA("api", "2001:978:2:2c::172:C", TTL("10m")),
-  A("maps", "130.117.76.12", TTL("10m")),
-  AAAA("maps", "2001:978:2:2c::172:C", TTL("10m")),
-  A("mapz", "130.117.76.12", TTL("10m")),
-  AAAA("mapz", "2001:978:2:2c::172:C", TTL("10m")),
-  A("spike-07.ams", "10.0.48.12"),
-  A("spike-07.oob", "10.0.49.12"),
-
-  A("spike-08", "130.117.76.13"),
-  AAAA("spike-08", "2001:978:2:2c::172:D"),
-  A("@", "130.117.76.13", TTL("10m")),
-  AAAA("@", "2001:978:2:2c::172:D", TTL("10m")),
-  A("www", "130.117.76.13", TTL("10m")),
-  AAAA("www", "2001:978:2:2c::172:D", TTL("10m")),
-  A("api", "130.117.76.13", TTL("10m")),
-  AAAA("api", "2001:978:2:2c::172:D", TTL("10m")),
-  A("maps", "130.117.76.13", TTL("10m")),
-  AAAA("maps", "2001:978:2:2c::172:D", TTL("10m")),
-  A("mapz", "130.117.76.13", TTL("10m")),
-  AAAA("mapz", "2001:978:2:2c::172:D", TTL("10m")),
-  A("spike-08.ams", "10.0.48.13"),
-  A("spike-08.oob", "10.0.49.13"),
+  A("spike-04", SPIKE04_IPV4),
+  AAAA("spike-04", SPIKE04_IPV6),
+  // A("@", SPIKE04_IPV4, TTL("10m")),
+  // AAAA("@", SPIKE04_IPV6, TTL("10m")),
+  // A("www", SPIKE04_IPV4, TTL("10m")),
+  // AAAA("www", SPIKE04_IPV6, TTL("10m")),
+  // A("api", SPIKE04_IPV4, TTL("10m")),
+  // AAAA("api", SPIKE04_IPV6, TTL("10m")),
+  // A("maps", SPIKE04_IPV4, TTL("10m")),
+  // AAAA("maps", SPIKE04_IPV6, TTL("10m")),
+  // A("mapz", SPIKE04_IPV4, TTL("10m")),
+  // AAAA("mapz", SPIKE04_IPV6, TTL("10m")),
+  A("spike-04.bm", SPIKE04_INTERNAL),
+  A("spike-04.oob", SPIKE04_OOB),
+
+  A("spike-05", SPIKE05_IPV4),
+  AAAA("spike-05", SPIKE05_IPV6),
+  // A("@", SPIKE05_IPV4, TTL("10m")),
+  // AAAA("@", SPIKE05_IPV6, TTL("10m")),
+  // A("www", SPIKE05_IPV4, TTL("10m")),
+  // AAAA("www", SPIKE05_IPV6, TTL("10m")),
+  // A("api", SPIKE05_IPV4, TTL("10m")),
+  // AAAA("api", SPIKE05_IPV6, TTL("10m")),
+  // A("maps", SPIKE05_IPV4, TTL("10m")),
+  // AAAA("maps", SPIKE05_IPV6, TTL("10m")),
+  // A("mapz", SPIKE05_IPV4, TTL("10m")),
+  // AAAA("mapz", SPIKE05_IPV6, TTL("10m")),
+  A("spike-05.bm", SPIKE05_INTERNAL),
+  A("spike-05.oob", SPIKE05_OOB),
+
+  A("spike-06", SPIKE06_IPV4),
+  AAAA("spike-06", SPIKE06_IPV6),
+  A("@", SPIKE06_IPV4, TTL("10m")),
+  AAAA("@", SPIKE06_IPV6, TTL("10m")),
+  A("www", SPIKE06_IPV4, TTL("10m")),
+  AAAA("www", SPIKE06_IPV6, TTL("10m")),
+  A("api", SPIKE06_IPV4, TTL("10m")),
+  AAAA("api", SPIKE06_IPV6, TTL("10m")),
+  A("maps", SPIKE06_IPV4, TTL("10m")),
+  AAAA("maps", SPIKE06_IPV6, TTL("10m")),
+  A("mapz", SPIKE06_IPV4, TTL("10m")),
+  AAAA("mapz", SPIKE06_IPV6, TTL("10m")),
+  A("spike-06.ams", SPIKE06_INTERNAL),
+  A("spike-06.oob", SPIKE06_OOB),
+
+  A("spike-07", SPIKE07_IPV4),
+  AAAA("spike-07", SPIKE07_IPV6),
+  A("@", SPIKE07_IPV4, TTL("10m")),
+  AAAA("@", SPIKE07_IPV6, TTL("10m")),
+  A("www", SPIKE07_IPV4, TTL("10m")),
+  AAAA("www", SPIKE07_IPV6, TTL("10m")),
+  A("api", SPIKE07_IPV4, TTL("10m")),
+  AAAA("api", SPIKE07_IPV6, TTL("10m")),
+  A("maps", SPIKE07_IPV4, TTL("10m")),
+  AAAA("maps", SPIKE07_IPV6, TTL("10m")),
+  A("mapz", SPIKE07_IPV4, TTL("10m")),
+  AAAA("mapz", SPIKE07_IPV6, TTL("10m")),
+  A("spike-07.ams", SPIKE07_INTERNAL),
+  A("spike-07.oob", SPIKE07_OOB),
+
+  A("spike-08", SPIKE08_IPV4),
+  AAAA("spike-08", SPIKE08_IPV6),
+  A("@", SPIKE08_IPV4, TTL("10m")),
+  AAAA("@", SPIKE08_IPV6, TTL("10m")),
+  A("www", SPIKE08_IPV4, TTL("10m")),
+  AAAA("www", SPIKE08_IPV6, TTL("10m")),
+  A("api", SPIKE08_IPV4, TTL("10m")),
+  AAAA("api", SPIKE08_IPV6, TTL("10m")),
+  A("maps", SPIKE08_IPV4, TTL("10m")),
+  AAAA("maps", SPIKE08_IPV6, TTL("10m")),
+  A("mapz", SPIKE08_IPV4, TTL("10m")),
+  AAAA("mapz", SPIKE08_IPV6, TTL("10m")),
+  A("spike-08.ams", SPIKE08_INTERNAL),
+  A("spike-08.oob", SPIKE08_OOB),
 
   // Rails application servers
 
-  A("thorn-01.ams", "10.0.48.51"),
-  A("rails1.ams", "10.0.48.51"),
-  A("thorn-01.oob", "10.0.49.51"),
+  A("thorn-01.ams", THORN01_INTERNAL),
+  A("rails1.ams", THORN01_INTERNAL),
+  A("thorn-01.oob", THORN01_OOB),
 
-  A("thorn-02.ams", "10.0.48.52"),
-  A("rails2.ams", "10.0.48.52"),
-  A("thorn-02.oob", "10.0.49.52"),
+  A("thorn-02.ams", THORN02_INTERNAL),
+  A("rails2.ams", THORN02_INTERNAL),
+  A("thorn-02.oob", THORN02_OOB),
 
-  A("thorn-03.ams", "10.0.48.53"),
-  A("rails3.ams", "10.0.48.53"),
-  A("thorn-03.oob", "10.0.49.53"),
+  A("thorn-03.ams", THORN03_INTERNAL),
+  A("rails3.ams", THORN03_INTERNAL),
+  A("thorn-03.oob", THORN03_OOB),
 
-  A("thorn-04.bm", "10.0.32.41"),
-  A("rails4.bm", "10.0.32.41"),
-  A("thorn-04.oob", "10.0.33.41"),
+  A("thorn-04.bm", THORN04_INTERNAL),
+  A("rails4.bm", THORN04_INTERNAL),
+  A("thorn-04.oob", THORN04_OOB),
 
-  A("thorn-05.bm", "10.0.32.42"),
-  A("rails5.bm", "10.0.32.42"),
-  A("thorn-05.oob", "10.0.33.42"),
+  A("thorn-05.bm", THORN05_INTERNAL),
+  A("rails5.bm", THORN05_INTERNAL),
+  A("thorn-05.oob", THORN05_OOB),
 
   // Nominatim servers
 
-  A("pummelzacken", "193.60.236.18"),
-  // A("nominatim", "193.60.236.18", TTL("10m")),
-  A("pummelzacken.ucl", "10.0.0.20"),
-  A("pummelzacken.oob", "10.0.1.20"),
+  A("pummelzacken", PUMMELZACKEN_IPV4),
+  // A("nominatim", PUMMELZACKEN_IPV4, TTL("10m")),
+  A("pummelzacken.ucl", PUMMELZACKEN_INTERNAL),
+  A("pummelzacken.oob", PUMMELZACKEN_OOB),
 
-  A("dulcy", "130.117.76.9"),
-  AAAA("dulcy", "2001:978:2:2c::172:9"),
-  A("nominatim", "130.117.76.9", TTL("10m")),
-  AAAA("nominatim", "2001:978:2:2c::172:9", TTL("10m")),
-  A("dulcy.ams", "10.0.48.9"),
-  A("dulcy.oob", "10.0.49.9"),
+  A("dulcy", DULCY_IPV4),
+  AAAA("dulcy", DULCY_IPV6),
+  A("nominatim", DULCY_IPV4, TTL("10m")),
+  AAAA("nominatim", DULCY_IPV6, TTL("10m")),
+  A("dulcy.ams", DULCY_INTERNAL),
+  A("dulcy.oob", DULCY_OOB),
 
   // Taginfo server
 
-  A("grindtooth", "193.60.236.15"),
-  A("taginfo", "193.60.236.15", TTL("10m")),
-  A("grindtooth.ucl", "10.0.0.19"),
-  A("grindtooth.oob", "10.0.1.19"),
+  A("grindtooth", GRINDTOOTH_IPV4),
+  A("taginfo", GRINDTOOTH_IPV4, TTL("10m")),
+  A("grindtooth.ucl", GRINDTOOTH_INTERNAL),
+  A("grindtooth.oob", GRINDTOOTH_OOB),
 
-  A("stormfly-01", "140.211.167.104"),
-  AAAA("stormfly-01", "2605:bc80:3010:700::8cde:a768"),
-  // A("taginfo", "140.211.167.104", TTL("10m")),
-  // AAAA("taginfo", "2605:bc80:3010:700::8cde:a768", TTL("10m")),
-  A("stormfly-01.oob", "10.0.0.99"),
+  A("stormfly-01", STORMFLY01_IPV4),
+  AAAA("stormfly-01", STORMFLY01_IPV6),
+  // A("taginfo", STORMFLY01_IPV4, TTL("10m")),
+  // AAAA("taginfo", STORMFLY01_IPV6, TTL("10m")),
+  A("stormfly-01.oob", STORMFLY01_OOB),
 
   // Tile servers
 
-  A("orm", "130.117.76.3"),
-  AAAA("orm", "2001:978:2:2c::172:3"),
-  A("orm.ams", "10.0.48.3"),
-  A("orm.oob", "10.0.49.3"),
+  A("orm", ORM_IPV4),
+  AAAA("orm", ORM_IPV6),
+  A("orm.ams", ORM_INTERNAL),
+  A("orm.oob", ORM_OOB),
 
-  A("odin", "130.117.76.15"),
-  AAAA("odin", "2001:978:2:2c::172:f"),
-  A("odin.ams", "10.0.48.15"),
-  A("odin.oob", "10.0.49.15"),
+  A("odin", ODIN_IPV4),
+  AAAA("odin", ODIN_IPV6),
+  A("odin.ams", ODIN_INTERNAL),
+  A("odin.oob", ODIN_OOB),
 
-  A("ysera", "193.60.236.22"),
-  A("ysera.ucl", "10.0.0.15"),
-  A("ysera.oob", "10.0.1.15"),
+  A("ysera", YSERA_IPV4),
+  A("ysera.ucl", YSERA_INTERNAL),
+  A("ysera.oob", YSERA_OOB),
 
-  A("scorch", "176.31.235.79"),
-  AAAA("scorch", "2001:41d0:2:fc4f::1"),
+  A("scorch", SCORCH_IPV4),
+  AAAA("scorch", SCORCH_IPV6),
 
-  A("rhaegal", "161.53.248.77"),
+  A("rhaegal", RHAEGAL_IPV4),
 
-  A("pyrene", "140.211.167.98"),
-  AAAA("pyrene", "2605:bc80:3010:700::8cd3:a762"),
-  A("pyrene.oob", "10.0.0.40"),
+  A("pyrene", PYRENE_IPV4),
+  AAAA("pyrene", PYRENE_IPV6),
+  A("pyrene.oob", TIAMAT00_INTERNAL),
 
-  A("bowser", "138.44.68.106"),
+  A("bowser", BOWSER_IPV4),
 
   CNAME("tile", QUALIFY("tile.geo")),
   CNAME("a.tile", QUALIFY("tile.geo")),
@@ -205,293 +205,293 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
 
   // Services machine
 
-  A("ironbelly", "130.117.76.10"),
-  AAAA("ironbelly", "2001:978:2:2c::172:a"),
-  A("backup", "130.117.76.10", TTL("10m")),
-  AAAA("backup", "2001:978:2:2c::172:a", TTL("10m")),
-  A("planet", "130.117.76.10", TTL("10m")),
-  AAAA("planet", "2001:978:2:2c::172:a", TTL("10m")),
-  A("logstash", "130.117.76.10"),
-  AAAA("logstash", "2001:978:2:2c::172:a"),
-  A("ironbelly.ams", "10.0.48.10"),
-  A("ironbelly.oob", "10.0.49.10"),
-
-  A("grisu", "89.16.162.20"),
-  AAAA("grisu", "2001:41c9:2:d6::20"),
-  // A("backup", "89.16.162.20", TTL("10m")),
-  // AAAA("backup", "2001:41c9:2:d6::20", TTL("10m")),
-  // A("planet", "89.16.162.20", TTL("10m")),
-  // AAAA("planet", "2001:41c9:2:d6::20", TTL("10m")),
-  A("grisu.bm", "10.0.32.20"),
-  A("grisu.oob", "10.0.33.20"),
+  A("ironbelly", IRONBELLY_IPV4),
+  AAAA("ironbelly", IRONBELLY_IPV6),
+  A("backup", IRONBELLY_IPV4, TTL("10m")),
+  AAAA("backup", IRONBELLY_IPV6, TTL("10m")),
+  A("planet", IRONBELLY_IPV4, TTL("10m")),
+  AAAA("planet", IRONBELLY_IPV6, TTL("10m")),
+  A("logstash", IRONBELLY_IPV4),
+  AAAA("logstash", IRONBELLY_IPV6),
+  A("ironbelly.ams", IRONBELLY_INTERNAL),
+  A("ironbelly.oob", IRONBELLY_OOB),
+
+  A("grisu", GRISU_IPV4),
+  AAAA("grisu", GRISU_IPV6),
+  // A("backup", GRISU_IPV4, TTL("10m")),
+  // AAAA("backup", GRISU_IPV6, TTL("10m")),
+  // A("planet", GRISU_IPV4, TTL("10m")),
+  // AAAA("planet", GRISU_IPV6, TTL("10m")),
+  A("grisu.bm", GRISU_INTERNAL),
+  A("grisu.oob", GRISU_OOB),
 
   // Database servers
 
-  A("karm.ams", "10.0.48.50"),
-  A("karm.oob", "10.0.49.50"),
+  A("karm.ams", KARM_INTERNAL),
+  A("karm.oob", KARM_OOB),
 
-  A("eddie.ucl", "10.0.0.10"),
-  A("eddie.oob", "10.0.1.10"),
+  A("eddie.ucl", EDDIE_INTERNAL),
+  A("eddie.oob", EDDIE_OOB),
 
-  A("katla.bm", "10.0.32.40"),
-  A("katla.oob", "10.0.33.40"),
+  A("katla.bm", KATLA_INTERNAL),
+  A("katla.oob", KATLA_OOB),
 
-  A("ramoth.ams", "10.0.48.5"),
-  A("ramoth.oob", "10.0.49.5"),
+  A("ramoth.ams", RAMOTH_INTERNAL),
+  A("ramoth.oob", RAMOTH_OOB),
 
   // Development server with wildcard alias for user sites
 
-  A("errol", "193.60.236.13"),
-  A("dev", "193.60.236.13"),
-  A("*.dev", "193.60.236.13"),
-  A("ooc", "193.60.236.13"),
-  A("a.ooc", "193.60.236.13"),
-  A("b.ooc", "193.60.236.13"),
-  A("c.ooc", "193.60.236.13"),
-  A("npe", "193.60.236.13"),
-  A("errol.ucl", "10.0.0.14"),
-  A("errol.oob", "10.0.1.14"),
+  A("errol", ERROL_IPV4),
+  A("dev", ERROL_IPV4),
+  A("*.dev", ERROL_IPV4),
+  A("ooc", ERROL_IPV4),
+  A("a.ooc", ERROL_IPV4),
+  A("b.ooc", ERROL_IPV4),
+  A("c.ooc", ERROL_IPV4),
+  A("npe", ERROL_IPV4),
+  A("errol.ucl", ERROL_INTERNAL),
+  A("errol.oob", ERROL_OOB),
 
   // Foundation server
 
-  A("ridley", "193.60.236.19"),
-  A("otrs", "193.60.236.19"),
-  A("blog", "193.60.236.19"),
-  A("foundation", "193.60.236.19"),
-  A("hot", "193.60.236.19"),
-  A("dmca", "193.60.236.19"),
-  A("ridley.ucl", "10.0.0.3"),
-  A("ridley.oob", "10.0.1.3"),
+  A("ridley", RIDLEY_IPV4),
+  A("otrs", RIDLEY_IPV4),
+  A("blog", RIDLEY_IPV4),
+  A("foundation", RIDLEY_IPV4),
+  A("hot", RIDLEY_IPV4),
+  A("dmca", RIDLEY_IPV4),
+  A("ridley.ucl", RIDLEY_INTERNAL),
+  A("ridley.oob", RIDLEY_OOB),
 
   // Piwik server
 
-  A("eustace", "193.60.236.14"),
-  A("piwik", "193.60.236.14"),
-  A("eustace.ucl", "10.0.0.9"),
-  A("eustace.oob", "10.0.1.9"),
+  A("eustace", EUSTACE_IPV4),
+  A("piwik", EUSTACE_IPV4),
+  A("eustace.ucl", EUSTACE_INTERNAL),
+  A("eustace.oob", EUSTACE_OOB),
 
   // Imagery servers
 
-  A("draco", "193.60.236.12"),
-  A("draco.ucl", "10.0.0.11"),
-  A("draco.oob", "10.0.1.11"),
-
-  A("kessie", "178.250.74.36"),
-  AAAA("kessie", "2a02:1658:4:0:dad3:85ff:fe5d:875e"),
-  A("agri", "178.250.74.36", TTL("1h")),
-  AAAA("agri", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
-  A("a.agri", "178.250.74.36", TTL("1h")),
-  AAAA("a.agri", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
-  A("b.agri", "178.250.74.36", TTL("1h")),
-  AAAA("b.agri", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
-  A("c.agri", "178.250.74.36", TTL("1h")),
-  AAAA("c.agri", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
-  A("os", "178.250.74.36", TTL("1h")),
-  AAAA("os", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
-  A("a.os", "178.250.74.36", TTL("1h")),
-  AAAA("a.os", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
-  A("b.os", "178.250.74.36", TTL("1h")),
-  AAAA("b.os", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
-  A("c.os", "178.250.74.36", TTL("1h")),
-  AAAA("c.os", "2a02:1658:4:0:dad3:85ff:fe5d:875e", TTL("1h")),
-  A("kessie.oob", "178.250.74.37"),
+  A("draco", DRACO_IPV4),
+  A("draco.ucl", DRACO_INTERNAL),
+  A("draco.oob", DRACO_OOB),
+
+  A("kessie", KESSIE_IPV4),
+  AAAA("kessie", KESSIE_IPV6),
+  A("agri", KESSIE_IPV4, TTL("1h")),
+  AAAA("agri", KESSIE_IPV6, TTL("1h")),
+  A("a.agri", KESSIE_IPV4, TTL("1h")),
+  AAAA("a.agri", KESSIE_IPV6, TTL("1h")),
+  A("b.agri", KESSIE_IPV4, TTL("1h")),
+  AAAA("b.agri", KESSIE_IPV6, TTL("1h")),
+  A("c.agri", KESSIE_IPV4, TTL("1h")),
+  AAAA("c.agri", KESSIE_IPV6, TTL("1h")),
+  A("os", KESSIE_IPV4, TTL("1h")),
+  AAAA("os", KESSIE_IPV6, TTL("1h")),
+  A("a.os", KESSIE_IPV4, TTL("1h")),
+  AAAA("a.os", KESSIE_IPV6, TTL("1h")),
+  A("b.os", KESSIE_IPV4, TTL("1h")),
+  AAAA("b.os", KESSIE_IPV6, TTL("1h")),
+  A("c.os", KESSIE_IPV4, TTL("1h")),
+  AAAA("c.os", KESSIE_IPV6, TTL("1h")),
+  A("kessie.oob", KESSIE_OOB),
 
   // Munin server
 
-  A("urmel", "193.60.236.21"),
-  A("munin", "193.60.236.21"),
-  A("urmel.ucl", "10.0.0.6"),
-  A("urmel.oob", "10.0.1.6"),
+  A("urmel", URMEL_IPV4),
+  A("munin", URMEL_IPV4),
+  A("urmel.ucl", URMEL_INTERNAL),
+  A("urmel.oob", URMEL_OOB),
 
   // Chef server
 
-  A("sarel", "193.60.236.20"),
-  A("chef", "193.60.236.20"),
-  A("hardware", "193.60.236.20"),
-  A("acme", "193.60.236.20"),
-  A("git", "193.60.236.20", TTL("10m")),
-  A("dns", "193.60.236.20", TTL("10m")),
-  A("sarel.ucl", "10.0.0.12"),
-  A("sarel.oob", "10.0.1.12"),
+  A("sarel", SAREL_IPV4),
+  A("chef", SAREL_IPV4),
+  A("hardware", SAREL_IPV4),
+  A("acme", SAREL_IPV4),
+  A("git", SAREL_IPV4, TTL("10m")),
+  A("dns", SAREL_IPV4, TTL("10m")),
+  A("sarel.ucl", SAREL_INTERNAL),
+  A("sarel.oob", SAREL_OOB),
 
   // Forum server
 
-  A("clifford", "193.60.236.11"),
-  A("forum", "193.60.236.11", TTL("10m")),
-  A("clifford.ucl", "10.0.0.17"),
-  A("clifford.oob", "10.0.1.17"),
+  A("clifford", CLIFFORD_IPV4),
+  A("forum", CLIFFORD_IPV4, TTL("10m")),
+  A("clifford.ucl", CLIFFORD_INTERNAL),
+  A("clifford.oob", CLIFFORD_OOB),
 
   // KVMs
 
-  A("kvm1.ucl", "10.0.0.21"),
+  A("kvm1.ucl", KVM1_INTERNAL),
 
   // Managed network switches
 
-  A("switch1", "130.117.76.2"),
-  AAAA("switch1", "2001:978:2:2c::172:2"),
+  A("switch1", SWITCH1_IPV4),
+  AAAA("switch1", SWITCH1_IPV6),
 
   // Managed power strips
 
-  A("pdu1.ams", "10.0.48.100"),
-  A("pdu2.ams", "10.0.48.101"),
+  A("pdu1.ams", PDU1_INTERNAL),
+  A("pdu2.ams", PDU2_INTERNAL),
 
   // Bytemark machine, and the services which operate from it
 
-  A("shenron", "212.110.172.32"),
-  AAAA("shenron", "2001:41c9:1:400::32"),
-  A("mail", "212.110.172.32"),
-  AAAA("mail", "2001:41c9:1:400::32"),
-  A("mta-sts", "212.110.172.32"),
-  AAAA("mta-sts", "2001:41c9:1:400::32"),
-  A("lists", "212.110.172.32"),
-  AAAA("lists", "2001:41c9:1:400::32"),
-  A("svn", "212.110.172.32"),
-  AAAA("svn", "2001:41c9:1:400::32"),
-  A("trac", "212.110.172.32"),
-  AAAA("trac", "2001:41c9:1:400::32"),
-  A("irc", "212.110.172.32"),
-  AAAA("irc", "2001:41c9:1:400::32"),
-  A("help", "212.110.172.32"),
-  AAAA("help", "2001:41c9:1:400::32"),
-  A("blogs", "212.110.172.32", TTL("10m")),
-  AAAA("blogs", "2001:41c9:1:400::32", TTL("10m")),
-  A("shenron.bm", "10.0.16.3"),
+  A("shenron", SHENRON_IPV4),
+  AAAA("shenron", SHENRON_IPV6),
+  A("mail", SHENRON_IPV4),
+  AAAA("mail", SHENRON_IPV6),
+  A("mta-sts", SHENRON_IPV4),
+  AAAA("mta-sts", SHENRON_IPV6),
+  A("lists", SHENRON_IPV4),
+  AAAA("lists", SHENRON_IPV6),
+  A("svn", SHENRON_IPV4),
+  AAAA("svn", SHENRON_IPV6),
+  A("trac", SHENRON_IPV4),
+  AAAA("trac", SHENRON_IPV6),
+  A("irc", SHENRON_IPV4),
+  AAAA("irc", SHENRON_IPV6),
+  A("help", SHENRON_IPV4),
+  AAAA("help", SHENRON_IPV6),
+  A("blogs", SHENRON_IPV4, TTL("10m")),
+  AAAA("blogs", SHENRON_IPV6, TTL("10m")),
+  A("shenron.bm", SHENRON_INTERNAL),
 
   // Wiki servers
 
-  A("tabaluga", "130.117.76.14"),
-  AAAA("tabaluga", "2001:978:2:2c::172:e"),
-  A("wiki", "130.117.76.14", TTL("10m")),
-  AAAA("wiki", "2001:978:2:2c::172:e", TTL("10m")),
-  A("tabaluga.ams", "10.0.48.14"),
-  A("tabaluga.oob", "10.0.49.14"),
+  A("tabaluga", TABALUGA_IPV4),
+  AAAA("tabaluga", TABALUGA_IPV6),
+  A("wiki", TABALUGA_IPV4, TTL("10m")),
+  AAAA("wiki", TABALUGA_IPV6, TTL("10m")),
+  A("tabaluga.ams", TABALUGA_INTERNAL),
+  A("tabaluga.oob", TABALUGA_OOB),
 
   // GPS tile server
 
-  A("noquiklos", "193.60.236.16"),
-  A("gps-tile", "193.60.236.16"),
-  A("a.gps-tile", "193.60.236.16"),
-  A("b.gps-tile", "193.60.236.16"),
-  A("c.gps-tile", "193.60.236.16"),
-  A("gps.tile", "193.60.236.16"),
-  A("gps-a.tile", "193.60.236.16"),
-  A("gps-b.tile", "193.60.236.16"),
-  A("gps-c.tile", "193.60.236.16"),
-  A("noquiklos.ucl", "10.0.0.13"),
-  A("noquiklos.oob", "10.0.1.13"),
+  A("noquiklos", NOQUIKLOS_IPV4),
+  A("gps-tile", NOQUIKLOS_IPV4),
+  A("a.gps-tile", NOQUIKLOS_IPV4),
+  A("b.gps-tile", NOQUIKLOS_IPV4),
+  A("c.gps-tile", NOQUIKLOS_IPV4),
+  A("gps.tile", NOQUIKLOS_IPV4),
+  A("gps-a.tile", NOQUIKLOS_IPV4),
+  A("gps-b.tile", NOQUIKLOS_IPV4),
+  A("gps-c.tile", NOQUIKLOS_IPV4),
+  A("noquiklos.ucl", NOQUIKLOS_INTERNAL),
+  A("noquiklos.oob", NOQUIKLOS_OOB),
 
   // Tile cache servers
 
-  A("gorynych", "5.45.248.21"),
-  AAAA("gorynych", "2a02:6b8:b010:5065::a001"),
-  A("trogdor", "134.90.146.26"),
-  A("trogdor.oob", "134.90.146.30"),
-  A("ridgeback", "31.169.50.10"),
-  A("ridgeback.oob", "31.169.50.14"),
-  A("jakelong", "71.19.155.177"),
-  AAAA("jakelong", "2605:2700:0:17:a800:ff:fe3e:cdca"),
-  A("nepomuk", "77.95.65.39"),
-  AAAA("nepomuk", "2a03:9180:0:100::7"),
-  A("simurgh", "94.20.20.55"),
-  A("katie", "144.76.70.77"),
-  AAAA("katie", "2a01:4f8:191:834c::2"),
-  A("konqi", "81.7.11.83"),
-  AAAA("konqi", "2a02:180:1:1::517:b53"),
-  A("longma", "140.110.240.7"),
-  AAAA("longma", "2001:e10:2000:240::7"),
-  A("viserion", "193.198.233.211"),
-  AAAA("viserion", "2001:b68:4cff:3::3"),
-  A("drogon", "161.53.30.107"),
-  AAAA("drogon", "2001:b68:c0ff:0:221:5eff:fe40:c7c4"),
-  A("saphira", "185.73.44.30"),
-  AAAA("saphira", "2001:ba8:0:2c1e::"),
-  A("toothless", "185.73.44.167"),
-  AAAA("toothless", "2001:ba8:0:2ca7::"),
-  A("sarkany", "37.17.173.8"),
-  AAAA("sarkany", "2001:4c48:2:bf04:250:56ff:fe8f:5c81"),
-  A("cmok", "31.130.201.40"),
-  AAAA("cmok", "2001:67c:2268:1005:21e:8cff:fe8c:8d3b"),
-  A("stormfly-02", "140.211.167.105"),
-  AAAA("stormfly-02", "2605:bc80:3010:700::8cde:a769"),
-  A("stormfly-02.oob", "10.0.0.108"),
-  A("rimfaxe", "130.225.254.109"),
-  AAAA("rimfaxe", "2001:878:346::109"),
-  A("culebre", "155.210.4.103"),
-  A("kalessin", "185.66.195.245"),
-  AAAA("kalessin", "2a03:2260:2000:1::5"),
-  A("angor", "196.10.54.165"),
-  // AAAA("angor", "2001:43f8:1f4:b00:b283:feff:fed8:dd45"),
-  A("ladon", "83.212.2.116"),
-  AAAA("ladon", "2001:648:2ffe:4::116"),
-  A("ascalon", "184.107.48.228"),
-  A("noomoahk", "91.224.148.166"),
-  AAAA("noomoahk", "2a03:7220:8080:a600::1"),
-  A("cherufe", "200.91.44.37"),
-  A("norbert", "89.234.186.100"),
-  AAAA("norbert", "2a00:5884:821c::1"),
-  A("chrysophylax", "217.71.244.22"),
-  AAAA("chrysophylax", "2001:8e0:40:2039::10"),
-  A("necrosan", "80.67.167.77"),
-  AAAA("necrosan", "2a0b:cbc0:110d:1::1c"),
-  A("keizer", "195.201.226.63"),
-  AAAA("keizer", "2a01:4f8:1c1c:bc54::1"),
-  A("vipertooth", "176.122.99.101"),
-  AAAA("vipertooth", "2001:67c:2d40::65"),
-  A("tuatara", "114.23.141.203"),
-  AAAA("tuatara", "2406:1e00:b410:c24:529a:4cff:fe79:bc3b"),
-  A("waima", "103.197.61.160"),
-  A("nidhogg", "130.236.254.221"),
-  AAAA("nidhogg", "2001:6b0:17:f0a0::dd"),
-  A("boitata", "200.236.31.207"),
-  AAAA("boitata", "2801:82:80ff:8002:216:ccff:feaa:21"),
-  A("fafnir", "130.239.18.114"),
-  AAAA("fafnir", "2001:6b0:e:2a18::114"),
-  A("fume", "147.228.60.16"),
-  A("balerion", "138.44.68.134"),
-  A("naga", "185.116.130.151"),
+  A("gorynych", GORYNYCH_IPV4),
+  AAAA("gorynych", GORYNYCH_IPV6),
+  A("trogdor", TROGDOR_IPV4),
+  A("trogdor.oob", TROGDOR_OOB),
+  A("ridgeback", RIDGEBACK_IPV4),
+  A("ridgeback.oob", RIDGEBACK_OOB),
+  A("jakelong", JAKELONG_IPV4),
+  AAAA("jakelong", JAKELONG_IPV6),
+  A("nepomuk", NEPOMUK_IPV4),
+  AAAA("nepomuk", NEPOMUK_IPV6),
+  A("simurgh", SIMURGH_IPV4),
+  A("katie", KATIE_IPV4),
+  AAAA("katie", KATIE_IPV6),
+  A("konqi", KONQI_IPV4),
+  AAAA("konqi", KONQI_IPV6),
+  A("longma", LONGMA_IPV4),
+  AAAA("longma", LONGMA_IPV6),
+  A("viserion", VISERION_IPV4),
+  AAAA("viserion", VISERION_IPV6),
+  A("drogon", DROGON_IPV4),
+  AAAA("drogon", DROGON_IPV6),
+  A("saphira", SAPHIRA_IPV4),
+  AAAA("saphira", SAPHIRA_IPV6),
+  A("toothless", TOOTHLESS_IPV4),
+  AAAA("toothless", TOOTHLESS_IPV6),
+  A("sarkany", SARKANY_IPV4),
+  AAAA("sarkany", SARKANY_IPV6),
+  A("cmok", CMOK_IPV4),
+  AAAA("cmok", CMOK_IPV6),
+  A("stormfly-02", STORMFLY02_IPV4),
+  AAAA("stormfly-02", STORMFLY02_IPV6),
+  A("stormfly-02.oob", STORMFLY02_OOB),
+  A("rimfaxe", RIMFAXE_IPV4),
+  AAAA("rimfaxe", RIMFAXE_IPV6),
+  A("culebre", CULEBRE_IPV4),
+  A("kalessin", KALESSIN_IPV4),
+  AAAA("kalessin", KALESSIN_IPV6),
+  A("angor", ANGOR_IPV4),
+  // AAAA("angor", ANGOR_IPV6),
+  A("ladon", LADON_IPV4),
+  AAAA("ladon", LADON_IPV6),
+  A("ascalon", ASCALON_IPV4),
+  A("noomoahk", NOOMOAHK_IPV4),
+  AAAA("noomoahk", NOOMOAHK_IPV6),
+  A("cherufe", CHERUFE_IPV4),
+  A("norbert", NORBERT_IPV4),
+  AAAA("norbert", NORBERT_IPV6),
+  A("chrysophylax", CHRYSOPHYLAX_IPV4),
+  AAAA("chrysophylax", CHRYSOPHYLAX_IPV6),
+  A("necrosan", NECROSAN_IPV4),
+  AAAA("necrosan", NECROSAN_IPV6),
+  A("keizer", KEIZER_IPV4),
+  AAAA("keizer", KEIZER_IPV6),
+  A("vipertooth", VIPERTOOTH_IPV4),
+  AAAA("vipertooth", VIPERTOOTH_IPV6),
+  A("tuatara", TUATARA_IPV4),
+  AAAA("tuatara", TUATARA_IPV6),
+  A("waima", WAIMA_IPV4),
+  A("nidhogg", NIDHOGG_IPV4),
+  AAAA("nidhogg", NIDHOGG_IPV6),
+  A("boitata", BOITATA_IPV4),
+  AAAA("boitata", BOITATA_IPV6),
+  A("fafnir", FAFNIR_IPV4),
+  AAAA("fafnir", FAFNIR_IPV6),
+  A("fume", FUME_IPV4),
+  A("balerion", BALERION_IPV4),
+  A("naga", NAGA_IPV4),
 
   // Blades
 
-  A("tiamat-00", "193.60.236.40"),
-  A("tiamat-00.ucl", "10.0.0.40"),
-  A("tiamat-00.oob", "10.0.1.40"),
-  A("tiamat-01", "193.60.236.41"),
-  A("tiamat-01.ucl", "10.0.0.41"),
-  A("tiamat-01.oob", "10.0.1.41"),
-  A("tiamat-02", "193.60.236.42"),
-  A("tiamat-02.ucl", "10.0.0.42"),
-  A("tiamat-02.oob", "10.0.1.42"),
-  A("tiamat-03", "193.60.236.43"),
-  A("tiamat-03.ucl", "10.0.0.43"),
-  A("tiamat-03.oob", "10.0.1.43"),
-  A("tiamat-10", "193.60.236.44"),
-  A("tiamat-10.ucl", "10.0.0.44"),
-  A("tiamat-10.oob", "10.0.1.44"),
-  A("tiamat-11", "193.60.236.45"),
-  A("tiamat-11.ucl", "10.0.0.45"),
-  A("tiamat-11.oob", "10.0.1.45"),
-  A("tiamat-12", "193.60.236.46"),
-  A("tiamat-12.ucl", "10.0.0.46"),
-  A("tiamat-12.oob", "10.0.1.46"),
-  A("tiamat-13", "193.60.236.47"),
-  A("tiamat-13.ucl", "10.0.0.47"),
-  A("tiamat-13.oob", "10.0.1.47"),
-  A("tiamat-20", "193.60.236.48"),
-  A("tiamat-20.ucl", "10.0.0.48"),
-  A("tiamat-20.oob", "10.0.1.48"),
-  A("tiamat-21", "193.60.236.49"),
-  A("tiamat-21.ucl", "10.0.0.49"),
-  A("tiamat-21.oob", "10.0.1.49"),
-  A("tiamat-22", "193.60.236.50"),
-  A("tiamat-22.ucl", "10.0.0.50"),
-  A("tiamat-22.oob", "10.0.1.50"),
-  A("tiamat-23", "193.60.236.51"),
-  A("tiamat-23.ucl", "10.0.0.51"),
-  A("tiamat-23.oob", "10.0.1.51"),
+  A("tiamat-00", TIAMAT00_IPV4),
+  A("tiamat-00.ucl", TIAMAT00_INTERNAL),
+  A("tiamat-00.oob", TIAMAT00_OOB),
+  A("tiamat-01", TIAMAT01_IPV4),
+  A("tiamat-01.ucl", TIAMAT01_INTERNAL),
+  A("tiamat-01.oob", TIAMAT01_OOB),
+  A("tiamat-02", TIAMAT02_IPV4),
+  A("tiamat-02.ucl", TIAMAT02_INTERNAL),
+  A("tiamat-02.oob", TIAMAT02_OOB),
+  A("tiamat-03", TIAMAT03_IPV4),
+  A("tiamat-03.ucl", TIAMAT03_INTERNAL),
+  A("tiamat-03.oob", TIAMAT03_OOB),
+  A("tiamat-10", TIAMAT10_IPV4),
+  A("tiamat-10.ucl", TIAMAT10_INTERNAL),
+  A("tiamat-10.oob", TIAMAT10_OOB),
+  A("tiamat-11", TIAMAT11_IPV4),
+  A("tiamat-11.ucl", TIAMAT11_INTERNAL),
+  A("tiamat-11.oob", TIAMAT11_OOB),
+  A("tiamat-12", TIAMAT12_IPV4),
+  A("tiamat-12.ucl", TIAMAT12_INTERNAL),
+  A("tiamat-12.oob", TIAMAT12_OOB),
+  A("tiamat-13", TIAMAT13_IPV4),
+  A("tiamat-13.ucl", TIAMAT13_INTERNAL),
+  A("tiamat-13.oob", TIAMAT13_OOB),
+  A("tiamat-20", TIAMAT20_IPV4),
+  A("tiamat-20.ucl", TIAMAT20_INTERNAL),
+  A("tiamat-20.oob", TIAMAT20_OOB),
+  A("tiamat-21", TIAMAT21_IPV4),
+  A("tiamat-21.ucl", TIAMAT21_INTERNAL),
+  A("tiamat-21.oob", TIAMAT21_OOB),
+  A("tiamat-22", TIAMAT22_IPV4),
+  A("tiamat-22.ucl", TIAMAT22_INTERNAL),
+  A("tiamat-22.oob", TIAMAT22_OOB),
+  A("tiamat-23", TIAMAT23_IPV4),
+  A("tiamat-23.ucl", TIAMAT23_INTERNAL),
+  A("tiamat-23.oob", TIAMAT23_OOB),
 
   // Donation site
 
-  A("donate", "193.60.236.19", TTL("10m")),
+  A("donate", RIDLEY_IPV4, TTL("10m")),
 
   // Uptime site at StatusCake
 
index a1875ed..81aec60 100644 (file)
@@ -48,16 +48,16 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
 
   // Main web server and it's aliases
 
-  A("@", "193.60.236.19", TTL("10m")),
-  A("old", "193.60.236.19", TTL("10m")),
-  A("www", "193.60.236.19", TTL("10m")),
-  A("wiki", "193.60.236.19", TTL("10m")),
-  A("blog", "193.60.236.19", TTL("10m")),
-  A("crm", "193.60.236.19", TTL("10m")),
-  A("join", "193.60.236.19", TTL("10m")),
-  A("board", "193.60.236.19", TTL("10m")),
-  A("dwg", "193.60.236.19", TTL("10m")),
-  A("mwg", "193.60.236.19", TTL("10m")),
-  A("operations", "193.60.236.19", TTL("10m"))
+  A("@", RIDLEY_IPV4, TTL("10m")),
+  A("old", RIDLEY_IPV4, TTL("10m")),
+  A("www", RIDLEY_IPV4, TTL("10m")),
+  A("wiki", RIDLEY_IPV4, TTL("10m")),
+  A("blog", RIDLEY_IPV4, TTL("10m")),
+  A("crm", RIDLEY_IPV4, TTL("10m")),
+  A("join", RIDLEY_IPV4, TTL("10m")),
+  A("board", RIDLEY_IPV4, TTL("10m")),
+  A("dwg", RIDLEY_IPV4, TTL("10m")),
+  A("mwg", RIDLEY_IPV4, TTL("10m")),
+  A("operations", RIDLEY_IPV4, TTL("10m"))
 
 );
index 97cef5b..b6c5f3f 100644 (file)
@@ -20,20 +20,20 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
 
   // Main web server and it's aliases
 
-  A("@", "193.60.236.19", TTL("10m")),
-  A("www", "193.60.236.19", TTL("10m")),
-  A("2020", "193.60.236.19", TTL("10m")),
-  A("2019", "193.60.236.19", TTL("10m")),
-  A("2018", "193.60.236.19", TTL("10m")),
-  A("2017", "193.60.236.19", TTL("10m")),
-  A("2016", "193.60.236.19", TTL("10m")),
-  A("2014", "193.60.236.19", TTL("10m")),
-  A("2013", "193.60.236.19", TTL("10m")),
-  A("2012", "193.60.236.19", TTL("10m")),
-  A("2011", "193.60.236.19", TTL("10m")),
-  A("2010", "193.60.236.19", TTL("10m")),
-  A("2009", "193.60.236.19", TTL("10m")),
-  A("2008", "193.60.236.19", TTL("10m")),
-  A("2007", "193.60.236.19", TTL("10m"))
+  A("@", RIDLEY_IPV4, TTL("10m")),
+  A("www", RIDLEY_IPV4, TTL("10m")),
+  A("2020", RIDLEY_IPV4, TTL("10m")),
+  A("2019", RIDLEY_IPV4, TTL("10m")),
+  A("2018", RIDLEY_IPV4, TTL("10m")),
+  A("2017", RIDLEY_IPV4, TTL("10m")),
+  A("2016", RIDLEY_IPV4, TTL("10m")),
+  A("2014", RIDLEY_IPV4, TTL("10m")),
+  A("2013", RIDLEY_IPV4, TTL("10m")),
+  A("2012", RIDLEY_IPV4, TTL("10m")),
+  A("2011", RIDLEY_IPV4, TTL("10m")),
+  A("2010", RIDLEY_IPV4, TTL("10m")),
+  A("2009", RIDLEY_IPV4, TTL("10m")),
+  A("2008", RIDLEY_IPV4, TTL("10m")),
+  A("2007", RIDLEY_IPV4, TTL("10m"))
 
 );
index 38422fa..71cae23 100644 (file)
@@ -8,7 +8,7 @@ D(DOMAIN, REGISTRAR, DnsProvider(PROVIDER),
 
   // Main web server and it's aliases
 
-  A("@", "193.60.236.19", TTL("10m")),
-  A("www", "193.60.236.19", TTL("10m"))
+  A("@", RIDLEY_IPV4, TTL("10m")),
+  A("www", RIDLEY_IPV4, TTL("10m"))
 
 );