Add emgauwa to dnscontrol

This commit is contained in:
Tobias Reisinger 2024-12-21 15:02:33 +01:00
parent 7ac1d9d28f
commit 517e75a3a3
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
4 changed files with 33 additions and 3 deletions

7
.gitignore vendored
View file

@ -1,14 +1,15 @@
.env .env
types-dnscontrol.d.ts types-dnscontrol.d.ts
dns/dkim-ses.json
dns/emgauwa.json
dns/hosts.json dns/hosts.json
dns/services.json dns/services.json
dns/dkim-ses.json
.terraform .terraform
inventory/group_vars/all/serguzim.net.yml
inventory/group_vars/all/opentofu.yml
inventory/group_vars/all/all_services.yml inventory/group_vars/all/all_services.yml
inventory/group_vars/all/opentofu.yml
inventory/group_vars/all/serguzim.net.yml
infrastructure.svg infrastructure.svg

View file

@ -70,3 +70,13 @@ function verify_dmarc_reports(domains) {
} }
return result; return result;
} }
function emgauwa_records(emgauwa) {
var result = [];
for (var i = 0; i < emgauwa.length; i++) {
var e = emgauwa[i];
result.push(A(e.subdomain, e.ip));
result.push(acme_challenge(e.subdomain, e.acme_challenge));
}
return result;
}

View file

@ -7,6 +7,7 @@ var dkim = require('dns/dkim.json');
var dkim_ses = require('dns/dkim-ses.json'); var dkim_ses = require('dns/dkim-ses.json');
var hosts = require('dns/hosts.json'); var hosts = require('dns/hosts.json');
var services_json = require('dns/services.json'); var services_json = require('dns/services.json');
var emgauwa = require('dns/emgauwa.json');
var REG_OVH = NewRegistrar("ovh"); var REG_OVH = NewRegistrar("ovh");
var DSP_OVH = NewDnsProvider("ovh"); var DSP_OVH = NewDnsProvider("ovh");
@ -80,6 +81,19 @@ D("serguzim.me", REG_OVH, DnsProvider(DSP_OVH),
CNAME("cloud", "nx45221.your-storageshare.de.") CNAME("cloud", "nx45221.your-storageshare.de.")
); );
// ___ _ __ ___ __ _ __ _ _ ___ ____ _ __ _ _ __ _ __
// / _ \ '_ ` _ \ / _` |/ _` | | | \ \ /\ / / _` | / _` | '_ \| '_ \
// | __/ | | | | | (_| | (_| | |_| |\ V V / (_| || (_| | |_) | |_) |
// \___|_| |_| |_|\__, |\__,_|\__,_| \_/\_/ \__,_(_)__,_| .__/| .__/
// |___/ |_| |_|
D("emgauwa.app", REG_OVH, DnsProvider(DSP_OVH),
A("dev", "127.0.0.1"),
all_defaults("emgauwa.app", true),
emgauwa_records(emgauwa)
);
// _ _ _ _ _ _ // _ _ _ _ _ _
// _ __ ___(_) |_ __ _ _ __ | | __ _ __ _ ___ ___ _ __ __ _ _ __ (_) ___ _ __ | |__ _ _ _ __ __ _ __| | ___ // _ __ ___(_) |_ __ _ _ __ | | __ _ __ _ ___ ___ _ __ __ _ _ __ (_) ___ _ __ | |__ _ _ _ __ __ _ __| | ___

View file

@ -464,6 +464,11 @@ services = {
domain = "msvg.cc" domain = "msvg.cc"
name = "shlink-msvg" name = "shlink-msvg"
alias = "shlink" alias = "shlink"
},
{
domain = "emgauwa.app"
name = "shlink-emgauwa"
alias = "shlink"
} }
] ]
monitoring = { monitoring = {