96 lines
3.7 KiB
JavaScript
96 lines
3.7 KiB
JavaScript
// @ts-check
|
|
/// <reference path="types-dnscontrol.d.ts" />
|
|
|
|
require('dns/default_records.js');
|
|
require('dns/functions.js');
|
|
var dkim = require('dns/dkim.json');
|
|
var dkim_ses = require('dns/dkim-ses.json');
|
|
var hosts = require('dns/hosts.json');
|
|
var services_json = require('dns/services.json');
|
|
|
|
var REG_OVH = NewRegistrar("ovh");
|
|
var DSP_OVH = NewDnsProvider("ovh");
|
|
|
|
var services = {};
|
|
for (var key in services_json) {
|
|
var s = services_json[key];
|
|
services[key] = service(s.target, s.domain, s.host, s.alias);
|
|
}
|
|
|
|
|
|
// _ __ ___ _____ ____ _ ___ ___
|
|
// | '_ ` _ \/ __\ \ / / _` | / __/ __|
|
|
// | | | | | \__ \\ V / (_| || (_| (__
|
|
// |_| |_| |_|___/ \_/ \__, (_)___\___|
|
|
// |___/
|
|
D("msvg.cc", REG_OVH, DnsProvider(DSP_OVH),
|
|
all_defaults("msvg.cc", true)
|
|
);
|
|
|
|
|
|
// _ __ ___ ___ _ __ __ _ ___ ___
|
|
// | '_ ` _ \/ __| '__/ _` | / __/ __|
|
|
// | | | | | \__ \ | | (_| || (_| (__
|
|
// |_| |_| |_|___/_| \__, (_)___\___|
|
|
// |___/
|
|
D("msrg.cc", REG_OVH, DnsProvider(DSP_OVH),
|
|
all_defaults("msrg.cc", true),
|
|
|
|
acme_challenge(null, "11974523-79f9-4bd2-a776-33c26ded361f"),
|
|
|
|
// Matrix
|
|
SRV("_matrix._tcp", 1, 1, 8448, "matrix.msrg.cc."),
|
|
|
|
verify_amazon_ses(dkim_ses["msrg.cc"]),
|
|
|
|
// SendGrid DKIM
|
|
CNAME("em2339.holitime", "u26197282.wl033.sendgrid.net."),
|
|
CNAME("s1._domainkey.holitime", "s1.domainkey.u26197282.wl033.sendgrid.net."),
|
|
CNAME("s2._domainkey.holitime", "s2.domainkey.u26197282.wl033.sendgrid.net.")
|
|
);
|
|
|
|
|
|
// _
|
|
// ___ ___ _ __ __ _ _ _ ___(_)_ __ ___ _ __ ___ ___
|
|
// / __|/ _ \ '__/ _` | | | |_ / | '_ ` _ \ | '_ ` _ \ / _ \
|
|
// \__ \ __/ | | (_| | |_| |/ /| | | | | | |_| | | | | | __/
|
|
// |___/\___|_| \__, |\__,_/___|_|_| |_| |_(_)_| |_| |_|\___|
|
|
// |___/
|
|
D("serguzim.me", REG_OVH, DnsProvider(DSP_OVH),
|
|
all_defaults("serguzim.me", true),
|
|
|
|
TLSA("_25._tcp.mail", 3, 1, 1, "e66a608a3ec459bda7fb1f2d500b8abeb78f2910f26641204b6bc454b8aa2a49"),
|
|
|
|
acme_challenge("auth", "18a42983-3d19-4c17-8213-fc275a8be721"),
|
|
acme_challenge("db", "ca2c86c0-ff3d-458a-89e0-11bcfd2543e4"),
|
|
acme_challenge("paas", "92924f7c-0859-4941-9e3d-2ecedfb21c1b"),
|
|
|
|
verify_amazon_ses(dkim_ses["serguzim.me"]),
|
|
|
|
verify_dmarc_reports([
|
|
"msrg.cc",
|
|
"reitanlage-oranienburg.de"
|
|
]),
|
|
|
|
NS("acme", services["acme_dns"].resolve_host().fqdn + "."),
|
|
|
|
// Other records
|
|
A("ls", "62.141.37.39"),
|
|
A("test", "62.141.37.39"),
|
|
CNAME("cloud", "nx45221.your-storageshare.de.")
|
|
);
|
|
|
|
|
|
// _ _ _ _ _ _
|
|
// _ __ ___(_) |_ __ _ _ __ | | __ _ __ _ ___ ___ _ __ __ _ _ __ (_) ___ _ __ | |__ _ _ _ __ __ _ __| | ___
|
|
// | '__/ _ \ | __/ _` | '_ \| |/ _` |/ _` |/ _ \_____ / _ \| '__/ _` | '_ \| |/ _ \ '_ \| '_ \| | | | '__/ _` | / _` |/ _ \
|
|
// | | | __/ | || (_| | | | | | (_| | (_| | __/_____| (_) | | | (_| | | | | | __/ | | | |_) | |_| | | | (_| || (_| | __/
|
|
// |_| \___|_|\__\__,_|_| |_|_|\__,_|\__, |\___| \___/|_| \__,_|_| |_|_|\___|_| |_|_.__/ \__,_|_| \__, (_)__,_|\___|
|
|
// |___/ |___/
|
|
D("reitanlage-oranienburg.de", REG_OVH, DnsProvider(DSP_OVH),
|
|
all_defaults("reitanlage-oranienburg.de", false),
|
|
|
|
verify_amazon_ses(dkim_ses["reitanlage-oranienburg.de"]),
|
|
|
|
TXT("default._bimi", "v=BIMI1; l=https://www.reitanlage-oranienburg.de/user/themes/reitanlage-oranienburg/images/bimi.svg")
|
|
);
|