Compare commits
3 commits
079d2c2753
...
615b8051bf
Author | SHA1 | Date | |
---|---|---|---|
615b8051bf | |||
94251ae4fc | |||
1ba7d00901 |
1 changed files with 21 additions and 16 deletions
37
dnsconfig.js
37
dnsconfig.js
|
@ -1,34 +1,39 @@
|
||||||
var DOMAIN_REGISTRAR = NewRegistrar("dynadot");
|
var DOMAIN_REGISTRAR = NewRegistrar("dynadot");
|
||||||
var DNS_PROVIDER_PRIMARY = NewDnsProvider("hetzner");
|
|
||||||
var DNS_PROVIDER_SECONDARY = NewDnsProvider("digitalocean");
|
|
||||||
|
|
||||||
var PROXY_IP = "128.199.30.141";
|
var DNS_PROVIDER_HETZNER = NewDnsProvider("hetzner");
|
||||||
|
var DNS_PROVIDER_DIGITALOCEAN = NewDnsProvider("digitalocean");
|
||||||
|
|
||||||
D("adtya.xyz", DOMAIN_REGISTRAR, DnsProvider(DNS_PROVIDER_PRIMARY), DnsProvider(DNS_PROVIDER_SECONDARY, 0),
|
var DNS_PROVIDER_ONE = DnsProvider(DNS_PROVIDER_HETZNER);
|
||||||
|
var DNS_PROVIDER_TWO = DnsProvider(DNS_PROVIDER_DIGITALOCEAN, 0);
|
||||||
|
|
||||||
|
var BIFROST_IP = "128.199.30.141";
|
||||||
|
|
||||||
|
D("adtya.xyz", DOMAIN_REGISTRAR, DNS_PROVIDER_ONE, DNS_PROVIDER_TWO,
|
||||||
NAMESERVER_TTL("1d"),
|
NAMESERVER_TTL("1d"),
|
||||||
DefaultTTL("900s"),
|
DefaultTTL("900s"),
|
||||||
A("@", PROXY_IP),
|
A("@", BIFROST_IP),
|
||||||
|
A("www", BIFROST_IP),
|
||||||
|
A("proofs", BIFROST_IP),
|
||||||
|
A("wiki", BIFROST_IP),
|
||||||
CNAME("if3", "if3.fly.dev."),
|
CNAME("if3", "if3.fly.dev."),
|
||||||
CNAME("proofs", "adtya.xyz."),
|
|
||||||
CNAME("wiki", "adtya.xyz."),
|
|
||||||
CNAME("www", "adtya.xyz."),
|
|
||||||
TXT("_github-pages-challenge-adtya", "c83b7cfc33c02c0499d401da51b801"),
|
TXT("_github-pages-challenge-adtya", "c83b7cfc33c02c0499d401da51b801"),
|
||||||
END);
|
END);
|
||||||
|
|
||||||
D("acomputer.lol", DOMAIN_REGISTRAR, DnsProvider(DNS_PROVIDER_PRIMARY), DnsProvider(DNS_PROVIDER_SECONDARY, 0),
|
D("acomputer.lol", DOMAIN_REGISTRAR, DNS_PROVIDER_ONE, DNS_PROVIDER_TWO,
|
||||||
NAMESERVER_TTL("1d"),
|
NAMESERVER_TTL("1d"),
|
||||||
DefaultTTL("900s"),
|
DefaultTTL("900s"),
|
||||||
A("@", PROXY_IP),
|
A("@", BIFROST_IP),
|
||||||
CNAME("forge", "acomputer.lol."),
|
A("www", BIFROST_IP),
|
||||||
CNAME("matrix", "acomputer.lol."),
|
A("forge", BIFROST_IP),
|
||||||
CNAME("ntfy", "acomputer.lol."),
|
A("matrix", BIFROST_IP),
|
||||||
CNAME("proxy", "acomputer.lol."),
|
A("ntfy", BIFROST_IP),
|
||||||
CNAME("www", "acomputer.lol."),
|
|
||||||
END);
|
END);
|
||||||
|
|
||||||
D("ironyofprivacy.org", DOMAIN_REGISTRAR, DnsProvider(DNS_PROVIDER_PRIMARY), DnsProvider(DNS_PROVIDER_SECONDARY, 0),
|
D("ironyofprivacy.org", DOMAIN_REGISTRAR, DNS_PROVIDER_ONE, DNS_PROVIDER_TWO,
|
||||||
NAMESERVER_TTL("1d"),
|
NAMESERVER_TTL("1d"),
|
||||||
DefaultTTL("900s"),
|
DefaultTTL("900s"),
|
||||||
|
A("git", BIFROST_IP),
|
||||||
|
A("matrix", BIFROST_IP),
|
||||||
END);
|
END);
|
||||||
|
|
||||||
function SETUP_FASTMAIL(domain) {
|
function SETUP_FASTMAIL(domain) {
|
||||||
|
|
Loading…
Reference in a new issue