From c2c59892feed910c6eef722adbfaee860bfb353d Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 25 Apr 2021 12:06:38 +0200 Subject: [PATCH] nodes/htz.ex42-1048908: add die-brontosaurier-waren-es.org to nginx --- .../files/extras/htz.ex42-1048908/daskritzelt-redirect | 3 +++ .../files/bind-zones/die-brontosaurier-waren-es.org | 8 ++++++++ nodes/htz/ex42-1048908.py | 5 +++++ 3 files changed, 16 insertions(+) create mode 100644 data/nginx/files/extras/htz.ex42-1048908/daskritzelt-redirect create mode 100644 data/powerdns/files/bind-zones/die-brontosaurier-waren-es.org diff --git a/data/nginx/files/extras/htz.ex42-1048908/daskritzelt-redirect b/data/nginx/files/extras/htz.ex42-1048908/daskritzelt-redirect new file mode 100644 index 0000000..7a0fd35 --- /dev/null +++ b/data/nginx/files/extras/htz.ex42-1048908/daskritzelt-redirect @@ -0,0 +1,3 @@ + location / { + return 302 https://twitter.com/daskritzelt/status/1259167444373028864; + } diff --git a/data/powerdns/files/bind-zones/die-brontosaurier-waren-es.org b/data/powerdns/files/bind-zones/die-brontosaurier-waren-es.org new file mode 100644 index 0000000..edc2000 --- /dev/null +++ b/data/powerdns/files/bind-zones/die-brontosaurier-waren-es.org @@ -0,0 +1,8 @@ +${header} + +$ORIGIN die-brontosaurier-waren-es.org. + +@ IN A 94.130.52.224 + IN AAAA 2a01:4f8:10b:2a5f::2 + IN MX 10 mx0.kunbox.net. + IN TXT "v=spf1 mx ~all" diff --git a/nodes/htz/ex42-1048908.py b/nodes/htz/ex42-1048908.py index e72ff48..a4a20ea 100644 --- a/nodes/htz/ex42-1048908.py +++ b/nodes/htz/ex42-1048908.py @@ -242,6 +242,11 @@ nodes['htz.ex42-1048908'] = { 'dav.kunsmann.eu': { 'extras': True, }, + 'daskritzelt-redirect': { + 'domain': 'die-brontosaurier-waren-es.org', + 'ssl': False, # TODO enable ssl once domain transfer is done + 'extras': True, + }, 'dimension.franzi.business': { 'extras': True, 'do_not_set_content_security_headers': True,