summaryrefslogtreecommitdiff
path: root/openbsd
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd')
-rw-r--r--openbsd/frontends/etc/httpd.conf23
-rw-r--r--openbsd/frontends/var/nsd:blowfish/etc/nsd.conf6
-rw-r--r--openbsd/frontends/var/nsd:blowfish/zones/master/sidewalk.ninja.zone18
-rw-r--r--openbsd/frontends/var/nsd:twofish/etc/nsd.conf5
4 files changed, 52 insertions, 0 deletions
diff --git a/openbsd/frontends/etc/httpd.conf b/openbsd/frontends/etc/httpd.conf
index bb993ff..5af3338 100644
--- a/openbsd/frontends/etc/httpd.conf
+++ b/openbsd/frontends/etc/httpd.conf
@@ -21,6 +21,29 @@ server "foo.zone" {
}
}
+server "sidewalk.ninja" {
+ listen on * port 80
+ block return 302 "https://sidewalk.ninja"
+}
+
+server "www.sidewalk.ninja" {
+ listen on * port 80
+ block return 302 "https://www.sidewalk.ninja"
+}
+
+server "sidewalk.ninja" {
+ alias "www.sidewalk.ninja"
+ listen on * tls port 443
+ tls {
+ certificate "/etc/ssl/sidewalk.ninja.fullchain.pem"
+ key "/etc/ssl/private/sidewalk.ninja.key"
+ }
+ location "/*" {
+ root "/htdocs/sidewalk.ninja"
+ directory auto index
+ }
+}
+
server "snonux.de" {
alias "www.snonux.de"
listen on * port 80
diff --git a/openbsd/frontends/var/nsd:blowfish/etc/nsd.conf b/openbsd/frontends/var/nsd:blowfish/etc/nsd.conf
index d95a168..920e9a2 100644
--- a/openbsd/frontends/var/nsd:blowfish/etc/nsd.conf
+++ b/openbsd/frontends/var/nsd:blowfish/etc/nsd.conf
@@ -41,6 +41,12 @@ zone:
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
diff --git a/openbsd/frontends/var/nsd:blowfish/zones/master/sidewalk.ninja.zone b/openbsd/frontends/var/nsd:blowfish/zones/master/sidewalk.ninja.zone
new file mode 100644
index 0000000..97174a8
--- /dev/null
+++ b/openbsd/frontends/var/nsd:blowfish/zones/master/sidewalk.ninja.zone
@@ -0,0 +1,18 @@
+$ORIGIN sidewalk.ninja.
+$TTL 4h
+@ IN SOA blowfish.buetow.org. hostmaster.buetow.org. (
+ 2022011707 ; 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:twofish/etc/nsd.conf b/openbsd/frontends/var/nsd:twofish/etc/nsd.conf
index 3ce547a..8922730 100644
--- a/openbsd/frontends/var/nsd:twofish/etc/nsd.conf
+++ b/openbsd/frontends/var/nsd:twofish/etc/nsd.conf
@@ -35,6 +35,11 @@ zone:
request-xfr: 23.88.35.144 blowfish.buetow.org
zone:
+ name: "sidewalk.ninja"
+ allow-notify: 23.88.35.144 blowfish.buetow.org
+ request-xfr: 23.88.35.144 blowfish.buetow.org
+
+zone:
name: "snonux.me"
allow-notify: 23.88.35.144 blowfish.buetow.org
request-xfr: 23.88.35.144 blowfish.buetow.org