All checks were successful
continuous-integration/drone/push Build is passing
101 lines
2.9 KiB
JavaScript
101 lines
2.9 KiB
JavaScript
//////////////////////////////////////////////////////////////////////////
|
|
// define domains
|
|
|
|
domain='burble.com';
|
|
cf_domain(domain);
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
// email via gmail, and keybase auth
|
|
|
|
D_EXTEND(
|
|
domain,
|
|
|
|
// MX records
|
|
MX('@', 1, 'aspmx.l.google.com.'),
|
|
MX('@', 5, 'alt2.aspmx.l.google.com.'),
|
|
MX('@', 5, 'alt1.aspmx.l.google.com.'),
|
|
MX('@', 10, 'aspmx3.googlemail.com.'),
|
|
MX('@', 10, 'aspmx2.googlemail.com.'),
|
|
|
|
// SPF and DMARC
|
|
TXT('@', 'v=spf1 include:_spf.google.com ~all'),
|
|
TXT('_dmarc', 'v=DMARC1; p=reject'),
|
|
TXT('google._domainkey', 'v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCClWMiLTcb8z420zEocWjRmlGwOH/Edpfk1e2T5S4rE12BeGt2dFk3YA4edeiNlc9E2sJSMepKeGx5mI3jOGfM7LPiL56bCPTvNH6JrHDZCvQuWysHxuXemigPo88DHwOT3N+LAlFdaQSP4ByaBomAPDh6hVEJQfhXS1cMH4RkeQIDAQAB'),
|
|
|
|
// keybase verification
|
|
TXT('@', 'keybase-site-verification=ONX4nkgR0mO-sRKbQ9druzvm1PC_iAvMq-1P3pCGFA8')
|
|
);
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
// services
|
|
|
|
D_EXTEND(
|
|
domain,
|
|
|
|
// websites
|
|
ALIAS('@', 'uk-lon1.burble.com.', CF_PROXY_ON),
|
|
CNAME('www', 'uk-lon1.burble.com.', CF_PROXY_ON),
|
|
CNAME('dn42','de-fra1.burble.com.', CF_PROXY_ON),
|
|
|
|
// status from uptime robot
|
|
CNAME('dn42.status', 'stats.uptimerobot.com.'),
|
|
|
|
// DN42 services
|
|
|
|
CNAME('explorer', 'de-fra1.burble.com.', CF_PROXY_ON),
|
|
CNAME('lg', 'de-fra1.burble.com.', CF_PROXY_ON),
|
|
CNAME('collector', 'fr-rbx1.burble.com.', CF_PROXY_ON),
|
|
CNAME('grc', 'fr-rbx1.burble.com.', CF_PROXY_ON),
|
|
CNAME('lg-grc', 'fr-rbx1.burble.com.', CF_PROXY_ON),
|
|
CNAME('git', 'de-fra1.burble.com.', CF_PROXY_ON),
|
|
CNAME('paste', 'de-fra1.burble.com.', CF_PROXY_ON),
|
|
CNAME('wiki', 'de-fra1.burble.com.', CF_PROXY_ON),
|
|
|
|
CNAME('lounge', 'uk-lon1.burble.com.', CF_PROXY_ON),
|
|
CNAME('next', 'uk-lon3.burble.com.', CF_PROXY_ON),
|
|
CNAME('grafana', 'de-fra1.burble.com.', CF_PROXY_ON)
|
|
);
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
// nodes
|
|
|
|
// special cases / test servers
|
|
|
|
D_EXTEND(
|
|
domain,
|
|
|
|
A('shell.fr-rbx1', '178.33.134.8'),
|
|
AAAA('shell.fr-rbx1', '2001:41d0:8:127:216:3eff:feae:51a8'),
|
|
A('shell.ca-bhs2', '66.70.155.200'),
|
|
AAAA('shell.fr-rbx1', '2607:5300:60:3741:216:3eff:fed7:2ceb'),
|
|
A('uk-bri1', '176.25.208.180')
|
|
);
|
|
|
|
|
|
// normal nodes
|
|
|
|
nodes.forEach(function(n) {
|
|
|
|
// ipv4
|
|
if (n[1] != 'undefined') {
|
|
D_EXTEND(domain,A(n[0], n[1]));
|
|
}
|
|
|
|
// ipv6
|
|
if (n[2] != 'undefined') {
|
|
D_EXTEND(domain,AAAA(n[0], n[2]));
|
|
}
|
|
|
|
// DN42 public node
|
|
if (n[3] == 'true') {
|
|
D_EXTEND(domain,CNAME('dn42-'+n[0], n[0]+'.burble.com.'));
|
|
}
|
|
|
|
});
|
|
|
|
//////////////////////////////////////////////////////////////////////////
|
|
// end of file
|
|
|