summaryrefslogtreecommitdiff
path: root/ymir
diff options
context:
space:
mode:
authorGregor Kleen <pngwjpgh@users.noreply.github.com>2016-11-10 17:41:28 +0100
committerGregor Kleen <pngwjpgh@users.noreply.github.com>2016-11-10 17:41:28 +0100
commit762649772dcefee5c4fbc9f997a2483da309a850 (patch)
tree3c0c9adc09d1aad67baab6c15d419a23438115dc /ymir
parent52228887258d5d22dd9c81d445d688ff7563b0e0 (diff)
downloadnixos-762649772dcefee5c4fbc9f997a2483da309a850.tar
nixos-762649772dcefee5c4fbc9f997a2483da309a850.tar.gz
nixos-762649772dcefee5c4fbc9f997a2483da309a850.tar.bz2
nixos-762649772dcefee5c4fbc9f997a2483da309a850.tar.xz
nixos-762649772dcefee5c4fbc9f997a2483da309a850.zip
begin dns setup
Diffstat (limited to 'ymir')
-rw-r--r--ymir/zones/index.nix12
-rw-r--r--ymir/zones/li.141.soa36
2 files changed, 48 insertions, 0 deletions
diff --git a/ymir/zones/index.nix b/ymir/zones/index.nix
new file mode 100644
index 00000000..a8d89924
--- /dev/null
+++ b/ymir/zones/index.nix
@@ -0,0 +1,12 @@
1{ lib }:
2
3with lib;
4
5rec {
6 "141.li" = { data = readFile ./li.141.soa; };
7 # "dirty-haskell.org" = { data = readFile ./org.dirty-haskell.soa; };
8 # "lmu.li" = { data = readFile ./li.lmu.soa; };
9 # "praseodym.org" = { data = readFile ./org.praseodym.soa; };
10 # "xmpp.li" = { data = readFile ./li.xmpp.soa; };
11 # "yggdrasil.li" = { data = readFile ./li.yggdrasil.soa; };
12}
diff --git a/ymir/zones/li.141.soa b/ymir/zones/li.141.soa
new file mode 100644
index 00000000..99f7f106
--- /dev/null
+++ b/ymir/zones/li.141.soa
@@ -0,0 +1,36 @@
1$ORIGIN 141.li.
2$TTL 3600
3@ IN SOA ns.141.li. root.141.li. (
4 2016111002 ; serial
5 10800 ; refresh
6 3600 ; retry
7 604800 ; expire
8 3600 ; min TTL
9)
10 NS ns1.141.li.
11ns1 IN A 188.68.51.254
12
13@ IN A 188.68.51.254
14@ IN AAAA 2a03:4000:6:d004::
15@ IN MX 0 ymir.yggdrasil.li.
16@ IN SPF "v=spf1 redirect=yggdrasil.li"
17
18* IN A 188.68.51.254
19* IN AAAA 2a03:4000:6:d004::
20* IN MX 0 ymir.yggdrasil.li.
21* IN SPF "v=spf1 redirect=yggdrasil.li"
22
23ullr IN A 188.68.34.177
24ullr IN MX 0 ymir.yggdrasil.li
25ullr IN SPF "v=spf1 redirect=ullr.yggdrasil.li"
26
27ymir IN A 188.68.51.254
28ymir IN AAAA 2a03:4000:6:d004::
29ymir IN MX 0 ymir.yggdrasil.li
30ymir IN SPF "v=spf1 redirect=ymir.yggdrasil.li"
31
32
33ymir._domainkey IN TXT ("v=DKIM1;k=rsa;p=MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAq3cCKlk+VPhyAanLZTM0BCzUT/+fmxHioZcFk0uJk1akBYj7BRofR7eVNcLKpm3rwYMQgE+9vJH9p8SV6tws9EcWc8SMCqqGZlREYM7PmLDiTSK/vjCzkygfgFCb0EBNsY2A/fpP4rTeoxrbcBSvMkq97iY5rwyw4wXZVZXLiDaCj23s8POoxTk1ClqUJZJQ5x2qzrC0RfN5kLZ9A7Gq2jB09vNxpXHYqABA0bJv88JiZM7hfkp9IafJZ+yCVMaBcJs4DAxnTjNAuFD9gm+qSFVY8+yeXqL6Qjo5PbruhyZRBW8RgRYT8t5n07XRglMGKKGMwOGLanrltcyXqB+GsDZBD36RAAwjFadnxdpDyRv4SgRP7ff2tKRrORYpmpN+mKdqw5j3J/nP6bXV1oAkyh9XQkPEIDi81WT87EZziTElDzVp6A2qFOxqucAovoRk247vlsns1FApFRsp9mja0UZNObyKD1M6tP9Ep7lS76tFGMk+WDvXRJH5LEsyCpu7sSyl1r/O0M4K+KldRCqLlZd7rf8F5P8T0dn1azk05g7F4p0N/y9GNdzXbPZ9u0eZdI7SEdh8ZoOZp7NVZiBFfbWLSS5ZtyA2kbBa4i7GJ/cuAbEKOmqAkeQPiu96TGIcyjkXjS6mTPI+9UmKZYZC+OM8XdJ02y5KRoonCc19ZS8CAwEAAQ==")
34
35_xmpp-client._tcp IN SRV 5 0 5222 ymir.yggdrasil.li.
36_xmpp-server._tcp IN SRV 5 0 5269 ymir.yggdrasil.li.