Add emgauwa to dnscontrol
This commit is contained in:
parent
7ac1d9d28f
commit
517e75a3a3
4 changed files with 33 additions and 3 deletions
7
.gitignore
vendored
7
.gitignore
vendored
|
@ -1,14 +1,15 @@
|
|||
.env
|
||||
|
||||
types-dnscontrol.d.ts
|
||||
dns/dkim-ses.json
|
||||
dns/emgauwa.json
|
||||
dns/hosts.json
|
||||
dns/services.json
|
||||
dns/dkim-ses.json
|
||||
|
||||
.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/opentofu.yml
|
||||
inventory/group_vars/all/serguzim.net.yml
|
||||
|
||||
infrastructure.svg
|
||||
|
|
|
@ -70,3 +70,13 @@ function verify_dmarc_reports(domains) {
|
|||
}
|
||||
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;
|
||||
}
|
||||
|
|
14
dnsconfig.js
14
dnsconfig.js
|
@ -7,6 +7,7 @@ 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 emgauwa = require('dns/emgauwa.json');
|
||||
|
||||
var REG_OVH = NewRegistrar("ovh");
|
||||
var DSP_OVH = NewDnsProvider("ovh");
|
||||
|
@ -80,6 +81,19 @@ D("serguzim.me", REG_OVH, DnsProvider(DSP_OVH),
|
|||
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)
|
||||
);
|
||||
|
||||
|
||||
// _ _ _ _ _ _
|
||||
// _ __ ___(_) |_ __ _ _ __ | | __ _ __ _ ___ ___ _ __ __ _ _ __ (_) ___ _ __ | |__ _ _ _ __ __ _ __| | ___
|
||||
|
|
|
@ -464,6 +464,11 @@ services = {
|
|||
domain = "msvg.cc"
|
||||
name = "shlink-msvg"
|
||||
alias = "shlink"
|
||||
},
|
||||
{
|
||||
domain = "emgauwa.app"
|
||||
name = "shlink-emgauwa"
|
||||
alias = "shlink"
|
||||
}
|
||||
]
|
||||
monitoring = {
|
||||
|
|
Loading…
Reference in a new issue