2024-09-24 23:10:59 +00:00
|
|
|
// @ts-check
|
|
|
|
/// <reference path="types-dnscontrol.d.ts" />
|
|
|
|
|
|
|
|
require('dns/default_records.js');
|
|
|
|
require('dns/functions.js');
|
|
|
|
var dkim = require('dns/dkim.json');
|
2024-10-22 15:44:00 +00:00
|
|
|
var dkim_ses = require('dns/dkim-ses.json');
|
2024-09-24 23:10:59 +00:00
|
|
|
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."),
|
|
|
|
|
|
|
|
// XMPP
|
|
|
|
SRV("_xmpp-server._tcp", 0, 1, 5269, "wiuwiu.de."),
|
|
|
|
SRV("_xmpp-client._tcp", 0, 1, 5222, "wiuwiu.de."),
|
|
|
|
SRV("_xmpps-client._tcp", 0, 10, 5223, "xmpps.wiuwiu.de."),
|
|
|
|
SRV("_xmpps-client._tcp", 0, 20, 443, "xmpps.wiuwiu.de."),
|
|
|
|
TXT("xmppconnect", "_xmpp-client-xbosh=https://wiuwiu.de:443/http-bind/"),
|
|
|
|
|
2024-10-22 15:44:00 +00:00
|
|
|
verify_amazon_ses(dkim_ses["msrg.cc"]),
|
2024-09-24 23:10:59 +00:00
|
|
|
|
|
|
|
// 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"),
|
|
|
|
|
2024-09-28 19:24:11 +00:00
|
|
|
acme_challenge("auth", "18a42983-3d19-4c17-8213-fc275a8be721"),
|
2024-10-29 05:07:04 +00:00
|
|
|
acme_challenge("db", "ca2c86c0-ff3d-458a-89e0-11bcfd2543e4"),
|
|
|
|
acme_challenge("paas", "92924f7c-0859-4941-9e3d-2ecedfb21c1b"),
|
2024-09-24 23:10:59 +00:00
|
|
|
|
2024-10-22 15:44:00 +00:00
|
|
|
verify_amazon_ses(dkim_ses["serguzim.me"]),
|
2024-09-24 23:10:59 +00:00
|
|
|
|
|
|
|
verify_dmarc_reports([
|
|
|
|
"msrg.cc",
|
|
|
|
"reitanlage-oranienburg.de"
|
|
|
|
]),
|
|
|
|
|
2024-10-01 22:24:11 +00:00
|
|
|
NS("acme", services["acme_dns"].resolve_host().fqdn + "."),
|
2024-09-24 23:10:59 +00:00
|
|
|
|
|
|
|
// 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),
|
|
|
|
|
2024-10-22 15:44:00 +00:00
|
|
|
verify_amazon_ses(dkim_ses["reitanlage-oranienburg.de"]),
|
2024-09-24 23:10:59 +00:00
|
|
|
|
|
|
|
TXT("default._bimi", "v=BIMI1; l=https://www.reitanlage-oranienburg.de/user/themes/reitanlage-oranienburg/images/bimi.svg")
|
|
|
|
);
|