diff options
| author | Paul Buetow <paul@buetow.org> | 2022-04-17 21:34:13 +0100 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2022-04-17 21:34:13 +0100 |
| commit | 37a3925d98c39ee6b0e936bc4aac67d2984dff0e (patch) | |
| tree | 950310eb06e311b174f57046dd6bbf106d90f70b /openbsd/frontends/var/nsd | |
| parent | 5f2668d6e94da47a873987d89c984241246cc9d5 (diff) | |
initial dns master via Rex
Diffstat (limited to 'openbsd/frontends/var/nsd')
10 files changed, 227 insertions, 0 deletions
diff --git a/openbsd/frontends/var/nsd/etc/key.conf.tpl b/openbsd/frontends/var/nsd/etc/key.conf.tpl new file mode 100644 index 0000000..976661a --- /dev/null +++ b/openbsd/frontends/var/nsd/etc/key.conf.tpl @@ -0,0 +1,4 @@ +key: + name: blowfish.buetow.org + algorithm: hmac-sha256 + secret: "<%= $nsd_secret %>" diff --git a/openbsd/frontends/var/nsd/etc/nsd.conf.master.tpl b/openbsd/frontends/var/nsd/etc/nsd.conf.master.tpl new file mode 100644 index 0000000..535acea --- /dev/null +++ b/openbsd/frontends/var/nsd/etc/nsd.conf.master.tpl @@ -0,0 +1,59 @@ +include: "/var/nsd/etc/key.conf" + +server: + hide-version: yes + verbosity: 1 + database: "" # disable database + debug-mode: no + +remote-control: + control-enable: yes + control-interface: /var/run/nsd.sock + +zone: + name: "buetow.org" + zonefile: "master/buetow.org.zone" + notify: 108.160.134.135 blowfish.buetow.org + provide-xfr: 108.160.134.135 blowfish.buetow.org + +zone: + name: "dtail.dev" + zonefile: "master/dtail.dev.zone" + notify: 108.160.134.135 blowfish.buetow.org + provide-xfr: 108.160.134.135 blowfish.buetow.org + +zone: + name: "foo.zone" + zonefile: "master/foo.zone.zone" + notify: 108.160.134.135 blowfish.buetow.org + provide-xfr: 108.160.134.135 blowfish.buetow.org + +zone: + name: "foo.surf" + zonefile: "master/foo.surf.zone" + notify: 108.160.134.135 blowfish.buetow.org + provide-xfr: 108.160.134.135 blowfish.buetow.org + +zone: + name: "snonux.de" + zonefile: "master/snonux.de.zone" + notify: 108.160.134.135 blowfish.buetow.org + provide-xfr: 108.160.134.135 blowfish.buetow.org + +zone: + name: "irregular.ninja" + zonefile: "master/irregular.ninja.zone" + notify: 108.160.134.135 blowfish.buetow.org + provide-xfr: 108.160.134.135 blowfish.buetow.org + +zone: + name: "sidewalk.ninja" + zonefile: "master/sidewalk.ninja.zone" + notify: 108.160.134.135 blowfish.buetow.org + provide-xfr: 108.160.134.135 blowfish.buetow.org + +zone: + name: "snonux.me" + zonefile: "master/snonux.me.zone" + notify: 108.160.134.135 blowfish.buetow.org + provide-xfr: 108.160.134.135 blowfish.buetow.org diff --git a/openbsd/frontends/var/nsd/zones.master/buetow.org.zone.tpl b/openbsd/frontends/var/nsd/zones.master/buetow.org.zone.tpl new file mode 100644 index 0000000..42bff2d --- /dev/null +++ b/openbsd/frontends/var/nsd/zones.master/buetow.org.zone.tpl @@ -0,0 +1,38 @@ +$ORIGIN buetow.org. +$TTL 4h +@ IN SOA blowfish.buetow.org. hostmaster.buetow.org. ( + <%= time() %> ; serial + 1h ; refresh + 30m ; retry + 7d ; expire + 1h ) ; negative + IN NS blowfish.buetow.org. + IN NS twofish.buetow.org. + + IN MX 10 buetow.org. + IN MX 20 www.buetow.org. + 86400 IN A 23.88.35.144 + 86400 IN AAAA 2a01:4f8:c17:20f1::42 + +* IN MX 10 buetow.org. +* IN MX 20 www.buetow.org. +* 86400 IN A 23.88.35.144 +* 86400 IN AAAA 2a01:4f8:c17:20f1::42 + +blowfish 86400 IN A 23.88.35.144 +blowfish 86400 IN AAAA 2a01:4f8:c17:20f1::42 +git1 3600 IN CNAME blowfish + +twofish 86400 IN A 108.160.134.135 +twofish 86400 IN AAAA 2401:c080:1000:45af:5400:3ff:fec6:ca1d +git2 3600 IN CNAME twofish +www 3600 IN CNAME twofish + +vulcan 86400 IN A 95.216.174.192 +vulcan 86400 IN AAAA 2a01:4f9:c010:250e::1 +vu 86400 IN CNAME vulcan +wolke7 3600 IN CNAME vulcan +edge 3600 IN CNAME vulcan + +sofia 86400 IN CNAME 79-100-3-54.ip.btc-net.bg. +www2 3600 IN CNAME snonux.codeberg.page. diff --git a/openbsd/frontends/var/nsd/zones.master/dtail.dev.zone.tpl b/openbsd/frontends/var/nsd/zones.master/dtail.dev.zone.tpl new file mode 100644 index 0000000..0d67272 --- /dev/null +++ b/openbsd/frontends/var/nsd/zones.master/dtail.dev.zone.tpl @@ -0,0 +1,16 @@ +$ORIGIN dtail.dev. +$TTL 4h +@ IN SOA blowfish.buetow.org. hostmaster.buetow.org. ( + <%= time() %> ; serial + 1h ; refresh + 30m ; retry + 7d ; expire + 1h ) ; negative + IN NS blowfish.buetow.org. + IN NS twofish.buetow.org. + + 86400 IN A 23.88.35.144 + 86400 IN AAAA 2a01:4f8:c17:20f1::4 +* 86400 IN CNAME blowfish.buetow.org. +github 86400 IN CNAME mimecast.github.io. + diff --git a/openbsd/frontends/var/nsd/zones.master/foo.surf.zone.tpl b/openbsd/frontends/var/nsd/zones.master/foo.surf.zone.tpl new file mode 100644 index 0000000..e92b881 --- /dev/null +++ b/openbsd/frontends/var/nsd/zones.master/foo.surf.zone.tpl @@ -0,0 +1,17 @@ +$ORIGIN foo.surf. +$TTL 4h +@ IN SOA blowfish.buetow.org. hostmaster.buetow.org. ( + <%= time() %> ; serial + 1h ; refresh + 30m ; retry + 7d ; expire + 1h ) ; negative + IN NS blowfish.buetow.org. + IN NS twofish.buetow.org. + + IN MX 20 buetow.org. + IN MX 10 www.buetow.org. + + 86400 IN A 108.160.134.135 + 86400 IN AAAA 2401:c080:1000:45af:5400:3ff:fec6:ca1d +www 86400 IN CNAME blowfish.buetow.org. diff --git a/openbsd/frontends/var/nsd/zones.master/foo.zone.zone.tpl b/openbsd/frontends/var/nsd/zones.master/foo.zone.zone.tpl new file mode 100644 index 0000000..4efbf3d --- /dev/null +++ b/openbsd/frontends/var/nsd/zones.master/foo.zone.zone.tpl @@ -0,0 +1,19 @@ +$ORIGIN foo.zone. +$TTL 4h +@ IN SOA blowfish.buetow.org. hostmaster.buetow.org. ( + <%= time() %> ; serial + 1h ; refresh + 30m ; retry + 7d ; expire + 1h ) ; negative + IN NS blowfish.buetow.org. + IN NS twofish.buetow.org. + + IN MX 10 buetow.org. + IN MX 20 www.buetow.org. + + + 86400 IN A 23.88.35.144 + 86400 IN AAAA 2a01:4f8:c17:20f1::42 +* 86400 IN CNAME blowfish.buetow.org. +www 86400 IN CNAME twofish.buetow.org. diff --git a/openbsd/frontends/var/nsd/zones.master/irregular.ninja.zone.tpl b/openbsd/frontends/var/nsd/zones.master/irregular.ninja.zone.tpl new file mode 100644 index 0000000..d3c55e5 --- /dev/null +++ b/openbsd/frontends/var/nsd/zones.master/irregular.ninja.zone.tpl @@ -0,0 +1,18 @@ +$ORIGIN irregular.ninja. +$TTL 4h +@ IN SOA blowfish.buetow.org. hostmaster.buetow.org. ( + <%= time() %> ; serial + 1h ; refresh + 30m ; retry + 7d ; expire + 1h ) ; negative + IN NS blowfish.buetow.org. + IN NS twofish.buetow.org. + + IN MX 10 buetow.org. + IN MX 20 www.buetow.org. + + 86400 IN A 23.88.35.144 + 86400 IN AAAA 2a01:4f8:c17:20f1::42 +* 86400 IN CNAME blowfish.buetow.org. +www 86400 IN CNAME twofish.buetow.org. diff --git a/openbsd/frontends/var/nsd/zones.master/sidewalk.ninja.zone.tpl b/openbsd/frontends/var/nsd/zones.master/sidewalk.ninja.zone.tpl new file mode 100644 index 0000000..42b1db7 --- /dev/null +++ b/openbsd/frontends/var/nsd/zones.master/sidewalk.ninja.zone.tpl @@ -0,0 +1,18 @@ +$ORIGIN sidewalk.ninja. +$TTL 4h +@ IN SOA blowfish.buetow.org. hostmaster.buetow.org. ( + <%= time() %> ; serial + 1h ; refresh + 30m ; retry + 7d ; expire + 1h ) ; negative + IN NS blowfish.buetow.org. + IN NS twofish.buetow.org. + + IN MX 10 buetow.org. + IN MX 20 www.buetow.org. + + 86400 IN A 23.88.35.144 + 86400 IN AAAA 2a01:4f8:c17:20f1::42 +* 86400 IN CNAME blowfish.buetow.org. +www 86400 IN CNAME twofish.buetow.org. diff --git a/openbsd/frontends/var/nsd/zones.master/snonux.de.zone.tpl b/openbsd/frontends/var/nsd/zones.master/snonux.de.zone.tpl new file mode 100644 index 0000000..cc530b6 --- /dev/null +++ b/openbsd/frontends/var/nsd/zones.master/snonux.de.zone.tpl @@ -0,0 +1,19 @@ +$ORIGIN snonux.de. +$TTL 4h +@ IN SOA blowfish.buetow.org. hostmaster.buetow.org. ( + <%= time() %> ; serial + 1h ; refresh + 30m ; retry + 7d ; expire + 1h ) ; negative + IN NS blowfish.buetow.org. + IN NS twofish.buetow.org. + + IN MX 10 buetow.org. + IN MX 20 www.buetow.org. + + + 86400 IN A 23.88.35.144 + 86400 IN AAAA 2a01:4f8:c17:20f1::42 +* 86400 IN CNAME blowfish.buetow.org. +www 86400 IN CNAME twofish.buetow.org. diff --git a/openbsd/frontends/var/nsd/zones.master/snonux.me.zone.tpl b/openbsd/frontends/var/nsd/zones.master/snonux.me.zone.tpl new file mode 100644 index 0000000..e756998 --- /dev/null +++ b/openbsd/frontends/var/nsd/zones.master/snonux.me.zone.tpl @@ -0,0 +1,19 @@ +$ORIGIN snonux.me. +$TTL 4h +@ IN SOA blowfish.buetow.org. hostmaster.buetow.org. ( + <%= time() %> ; serial + 1h ; refresh + 30m ; retry + 7d ; expire + 1h ) ; negative + IN NS blowfish.buetow.org. + IN NS twofish.buetow.org. + + IN MX 10 buetow.org. + IN MX 20 www.buetow.org. + + + 86400 IN A 23.88.35.144 + 86400 IN AAAA 2a01:4f8:c17:20f1::42 +* 86400 IN CNAME blowfish.buetow.org. +www 86400 IN CNAME twofish.buetow.org. |
