refactor
This commit is contained in:
parent
c2290ccdae
commit
f8d7900e38
1 changed files with 5 additions and 8 deletions
13
dnsconfig.js
13
dnsconfig.js
|
@ -1,10 +1,7 @@
|
||||||
// @ts-check
|
var DOMAIN_REGISTRAR = NewRegistrar("dynadot");
|
||||||
/// <reference path="types-dnscontrol.d.ts" />
|
var DNS_PROVIDER = DnsProvider(NewDnsProvider("hetzner"));
|
||||||
|
|
||||||
var REG_DYNADOT = NewRegistrar("dynadot");
|
D("adtya.xyz", DOMAIN_REGISTRAR, DNS_PROVIDER,
|
||||||
var DNSP_HETZNER = NewDnsProvider("hetzner");
|
|
||||||
|
|
||||||
D("adtya.xyz", REG_DYNADOT, DnsProvider(DNSP_HETZNER),
|
|
||||||
DefaultTTL("900s"),
|
DefaultTTL("900s"),
|
||||||
A("@", "165.232.180.97"),
|
A("@", "165.232.180.97"),
|
||||||
CNAME("if3", "if3.fly.dev."),
|
CNAME("if3", "if3.fly.dev."),
|
||||||
|
@ -14,7 +11,7 @@ D("adtya.xyz", REG_DYNADOT, DnsProvider(DNSP_HETZNER),
|
||||||
TXT("_github-pages-challenge-adtya", "c83b7cfc33c02c0499d401da51b801"),
|
TXT("_github-pages-challenge-adtya", "c83b7cfc33c02c0499d401da51b801"),
|
||||||
END);
|
END);
|
||||||
|
|
||||||
D("acomputer.lol", REG_DYNADOT, DnsProvider(DNSP_HETZNER),
|
D("acomputer.lol", DOMAIN_REGISTRAR, DNS_PROVIDER,
|
||||||
DefaultTTL("900s"),
|
DefaultTTL("900s"),
|
||||||
A("@", "165.232.180.97"),
|
A("@", "165.232.180.97"),
|
||||||
CNAME("forge", "acomputer.lol."),
|
CNAME("forge", "acomputer.lol."),
|
||||||
|
@ -24,7 +21,7 @@ D("acomputer.lol", REG_DYNADOT, DnsProvider(DNSP_HETZNER),
|
||||||
CNAME("www", "acomputer.lol."),
|
CNAME("www", "acomputer.lol."),
|
||||||
END);
|
END);
|
||||||
|
|
||||||
D("ironyofprivacy.org", REG_DYNADOT, DnsProvider(DNSP_HETZNER),
|
D("ironyofprivacy.org", DOMAIN_REGISTRAR, DNS_PROVIDER,
|
||||||
DefaultTTL("900s"),
|
DefaultTTL("900s"),
|
||||||
END);
|
END);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue