aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2024-01-10 21:10:55 +0100
committerWojtek Kosior <koszko@koszko.org>2024-01-10 21:10:55 +0100
commita9051848d583cd29ee4542ff1cdd8ac4eda57a2e (patch)
tree87c807f58c00819a113f824cd6d5eb247550a59c
parent48135ea6cddb1d2a8f8bca180a0d07b67430c997 (diff)
downloadkoszko-org-server-a9051848d583cd29ee4542ff1cdd8ac4eda57a2e.tar.gz
koszko-org-server-a9051848d583cd29ee4542ff1cdd8ac4eda57a2e.zip
Become a slave of the happyhacking.pl DNS zone.
-rw-r--r--container.scm50
1 files changed, 5 insertions, 45 deletions
diff --git a/container.scm b/container.scm
index 89f1d32..2a5af3b 100644
--- a/container.scm
+++ b/container.scm
@@ -856,53 +856,10 @@ exim_path = /run/setuid-programs/exim
(semantic-checks? #t)
(notify '("1984-axfr-remote"))))
-(define %happyhacking-pl-provisional-zone-entries
- (let ()
- (define-zone-entries entries
- ;; nameservers
- ("@" "" "IN" "NS" "vps-93-95-227-159.1984.is.")
- ("@" "" "IN" "NS" "ns0.1984.is.")
- ("@" "" "IN" "NS" "ns1.1984.is.")
- ("@" "" "IN" "NS" "ns2.1984.is.")
- ("@" "" "IN" "NS" "ns1.1984hosting.com.")
- ("@" "" "IN" "NS" "ns2.1984hosting.com.")
- ;; domain->IP assignments
- ("@" "" "IN" "A" "188.68.236.76")
- ("@" "" "IN" "AAAA" "fe80::216:3eff:feb0:4e18")
- ("www" "" "IN" "CNAME" "@")
- ("git" "" "IN" "CNAME" "git.koszko.org.")
- ("www.git" "" "IN" "CNAME" "git")
- ;; mail
- ("@" "" "IN" "MX 10" "koszko.org.")
- ;; dmarc
- ("@" "" "IN" "TXT" "\"v=spf1 ip4:93.95.227.159 -all\"")
- ("_dmarc" "" "IN" "TXT" "\"v=DMARC1;p=reject;rua=mailto:dmarc@koszko.org;ruf=mailto:dmarc@koszko.org;rf=afrf;pct=100\"")
- ("mail._domainkey" "" "IN" "TXT" "(
- \"k=rsa;t=s;p=MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAx0kXNRIL\"
- \"VRDaU1iPdUu2FwX+pRbNS4DwojiOYznESt1npY8LzYV3MBKf2XXOSl+6Ui8Jy91V\"
- \"KzoUqwN9Rh6vdsLYPaMMtPUe/gN1AOqyF4qYqz499VZqRLmoPyq4EV5eRSqbDeDb\"
- \"eDOaoJ0+ZJHG6qg2eAz1v2U++lsSRTOkXe3xZFxrHRrvXg5JVl5DNGRKBjotwW8O\"
- \"EMhwUa2LbmJA/EbbCWhXfmaIEwqP2LRUF2HqFMSr4IHHopcTKQwpSwbsOGYG8MV1\"
- \"c5HelO+OROpuUNPE8YoKVHKwfWdwgStrrkSYK+H5JQvJgFvyfsyePfXfqszde+4B\"
- \"EC34ScPW86HKmw4JltFpBCiBThYdD0fu8g5mQzdtwNUbCcPkuUDrUTA4TE44ScHO\"
- \"VYDX0QWaUubrsf5F1+bwyTKuzbUHXnbXw7r7JLC2P4CjtsS4MLYjrfeQ3TIEdj+s\"
- \"WtWVItIVQnFRuSTFmHKqnWNDSjmTeH5m8FWPQeDjXRj2e1f5vCrfIvyXTzWvOeIw\"
- \"DU2QfyUPUKaL9hvNvX9S3G45qM/CH5UTRc2BC0dFZHBNR/uLTGMYaatfw2QAxQzs\"
- \"cmw34IgwLGswxFj3iaDwc8d3Uh+JamFBf+GUrwjRs/sVRRiXrB+qKwlxckzWHVbV\"
- \"oABCxjKDmvE86L3kCQ+MobG0BOtFBR4BqU8CAwEAAQ==\"
-)")
- ("happyhacking.pl._report._dmarc" "" "IN" "TXT" "\"v=DMARC1\""))
- entries))
-
(define %happyhacking-pl-zone-configuration
(knot-zone-configuration
(domain "happyhacking.pl")
- (zone (zone-file
- (origin "happyhacking.pl")
- (entries %happyhacking-pl-provisional-zone-entries)
- (ns "vps-93-95-227-159.1984.is.")
- (mail "root")
- (serial 2023122800)))
+ (master (list "happyhacking-master"))
(acl '("allow-axfr-from-1984"))
(semantic-checks? #t)
(notify '("1984-axfr-remote"))))
@@ -961,7 +918,10 @@ log:
(action '(transfer)))))
(remotes (list (knot-remote-configuration
(id "1984-axfr-remote")
- (address '("93.95.224.6")))))
+ (address '("93.95.224.6")))
+ (knot-remote-configuration
+ (id "happyhacking-master")
+ (address '("188.68.236.76")))))
(zones (list %koszko-org-zone-configuration
%koszkonutek-tmp.pl.eu.org-zone-configuration
%happyhacking-pl-zone-configuration)))))