Skip to content

Commit e8cf4f1

Browse files
authored
Merge pull request #641 from NixOS/dnscontrol-import
dns: manage ofborg.org, nix.dev
2 parents 888215e + 7ba4803 commit e8cf4f1

3 files changed

Lines changed: 63 additions & 0 deletions

File tree

dns/dnsconfig.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@ DEFAULTS(
55
var REG_NONE = NewRegistrar("none");
66
var DSP_GANDI = NewDnsProvider("gandi");
77

8+
require("ofborg.org.js");
9+
require("nix.dev.js");
810
require("nixos.org.js");
911

dns/nix.dev.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
D("nix.dev",
2+
REG_NONE,
3+
DnsProvider(DSP_GANDI),
4+
5+
// Domain is not used for mail
6+
SPF_BUILDER({
7+
label: "@",
8+
parts: [
9+
"v=spf1",
10+
"-all"
11+
]
12+
}),
13+
TXT("*._domainkey", "v=DKIM1; p="),
14+
DMARC_BUILDER({
15+
policy: "reject",
16+
subdomainPolicy: "reject",
17+
alignmentDKIM: "strict",
18+
alignmentSPF: "strict"
19+
}),
20+
21+
TXT("@", "google-site-verification=J55RGHyOPKpHAyIHVfBy1RdY_LuVIvLyuyR8deO62YE"),
22+
23+
ALIAS("@", "nix-dev.netlify.app."),
24+
CNAME("www", "nix-dev.netlify.app.")
25+
);
26+

dns/ofborg.org.js

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
D("ofborg.org",
2+
REG_NONE,
3+
DnsProvider(DSP_GANDI),
4+
5+
// Domain is not used for mail
6+
SPF_BUILDER({
7+
label: "@",
8+
parts: [
9+
"v=spf1",
10+
"-all"
11+
]
12+
}),
13+
TXT("*._domainkey", "v=DKIM1; p="),
14+
DMARC_BUILDER({
15+
policy: "reject",
16+
subdomainPolicy: "reject",
17+
alignmentDKIM: "strict",
18+
alignmentSPF: "strict"
19+
}),
20+
21+
ALIAS("@", "core.ofborg.org."),
22+
23+
A("core", "136.144.57.217"),
24+
AAAA("core", "2604:1380:45f1:400::3"),
25+
CNAME("events", "core"),
26+
CNAME("monitoring", "core"),
27+
CNAME("webhook", "core"),
28+
29+
A("core01", "138.199.148.47"),
30+
AAAA("core01", "2a01:4f8:c012:cda4::1"),
31+
CNAME("gh-webhook", "core01"),
32+
CNAME("logs", "core01"),
33+
CNAME("messages", "core01")
34+
);
35+

0 commit comments

Comments
 (0)