add digitalocean as backup
This commit is contained in:
parent
f8d7900e38
commit
7b691f8a70
1 changed files with 28 additions and 28 deletions
10
dnsconfig.js
10
dnsconfig.js
|
@ -1,7 +1,8 @@
|
||||||
var DOMAIN_REGISTRAR = NewRegistrar("dynadot");
|
var DOMAIN_REGISTRAR = NewRegistrar("dynadot");
|
||||||
var DNS_PROVIDER = DnsProvider(NewDnsProvider("hetzner"));
|
var DNS_PROVIDER_PRIMARY = NewDnsProvider("hetzner");
|
||||||
|
var DNS_PROVIDER_SECONDARY = NewDnsProvider("digitalocean");
|
||||||
|
|
||||||
D("adtya.xyz", DOMAIN_REGISTRAR, DNS_PROVIDER,
|
D("adtya.xyz", DOMAIN_REGISTRAR, DnsProvider(DNS_PROVIDER_PRIMARY), DnsProvider(DNS_PROVIDER_SECONDARY, 0),
|
||||||
DefaultTTL("900s"),
|
DefaultTTL("900s"),
|
||||||
A("@", "165.232.180.97"),
|
A("@", "165.232.180.97"),
|
||||||
CNAME("if3", "if3.fly.dev."),
|
CNAME("if3", "if3.fly.dev."),
|
||||||
|
@ -11,7 +12,7 @@ D("adtya.xyz", DOMAIN_REGISTRAR, DNS_PROVIDER,
|
||||||
TXT("_github-pages-challenge-adtya", "c83b7cfc33c02c0499d401da51b801"),
|
TXT("_github-pages-challenge-adtya", "c83b7cfc33c02c0499d401da51b801"),
|
||||||
END);
|
END);
|
||||||
|
|
||||||
D("acomputer.lol", DOMAIN_REGISTRAR, DNS_PROVIDER,
|
D("acomputer.lol", DOMAIN_REGISTRAR, DnsProvider(DNS_PROVIDER_PRIMARY), DnsProvider(DNS_PROVIDER_SECONDARY, 0),
|
||||||
DefaultTTL("900s"),
|
DefaultTTL("900s"),
|
||||||
A("@", "165.232.180.97"),
|
A("@", "165.232.180.97"),
|
||||||
CNAME("forge", "acomputer.lol."),
|
CNAME("forge", "acomputer.lol."),
|
||||||
|
@ -21,7 +22,7 @@ D("acomputer.lol", DOMAIN_REGISTRAR, DNS_PROVIDER,
|
||||||
CNAME("www", "acomputer.lol."),
|
CNAME("www", "acomputer.lol."),
|
||||||
END);
|
END);
|
||||||
|
|
||||||
D("ironyofprivacy.org", DOMAIN_REGISTRAR, DNS_PROVIDER,
|
D("ironyofprivacy.org", DOMAIN_REGISTRAR, DnsProvider(DNS_PROVIDER_PRIMARY), DnsProvider(DNS_PROVIDER_SECONDARY, 0),
|
||||||
DefaultTTL("900s"),
|
DefaultTTL("900s"),
|
||||||
END);
|
END);
|
||||||
|
|
||||||
|
@ -54,4 +55,3 @@ function SETUP_FASTMAIL(domain) {
|
||||||
SETUP_FASTMAIL("adtya.xyz")
|
SETUP_FASTMAIL("adtya.xyz")
|
||||||
SETUP_FASTMAIL("acomputer.lol")
|
SETUP_FASTMAIL("acomputer.lol")
|
||||||
SETUP_FASTMAIL("ironyofprivacy.org")
|
SETUP_FASTMAIL("ironyofprivacy.org")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue