diff options
author | W. Kosior <koszko@koszko.org> | 2024-09-25 14:59:30 +0200 |
---|---|---|
committer | W. Kosior <koszko@koszko.org> | 2024-09-25 15:02:59 +0200 |
commit | 00affbbcaacdd1ef099e2e5a2c6cd9eb414e4597 (patch) | |
tree | 96efe9bef77998e55fa06edee1d2516494b53120 /salamina.scm | |
parent | cb365635ae292c4dc29861870b99bdd6729c5692 (diff) | |
download | koszko-org-guix-server-00affbbcaacdd1ef099e2e5a2c6cd9eb414e4597.tar.gz koszko-org-guix-server-00affbbcaacdd1ef099e2e5a2c6cd9eb414e4597.zip |
Refactor DNS entries.
Diffstat (limited to 'salamina.scm')
-rw-r--r-- | salamina.scm | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/salamina.scm b/salamina.scm index 7f5bdf7..25fbcd7 100644 --- a/salamina.scm +++ b/salamina.scm @@ -499,6 +499,9 @@ #~(mkdir-p "/var/certbot-validation"))) +(define %salamina-v4-addr + "188.68.237.248") + (define (make-koszko-zone-entries domain) (dns:define-zone-entries entries ;; nameservers @@ -510,29 +513,26 @@ ("@" "" "IN" "NS" "ns2.1984hosting.com.") ;; domain->IP assignments - ("@" "" "IN" "A" "188.68.237.248") + ("@" "" "IN" "A" %salamina-v4-addr) - ("antioch" "" "IN" "A" "188.68.236.76") - ("*.antioch" "" "IN" "CNAME" "antioch") - ("salamina" "" "IN" "A" "188.68.237.248") + ("salamina" "" "IN" "A" %salamina-v4-addr) ("*.salamina" "" "IN" "CNAME" "salamina") ("www" "" "IN" "CNAME" "@") - ("git" "" "IN" "CNAME" "salamina") + ("git" "" "IN" "CNAME" "@") ("www.git" "" "IN" "CNAME" "git") ("hachettebugs" "" "IN" "CNAME" "hydrillabugs") ("www.hachettebugs" "" "IN" "CNAME" "hachettebugs") - ("haketilo" "" "IN" "CNAME" "salamina") + ("haketilo" "" "IN" "CNAME" "@") ("www.haketilo" "" "IN" "CNAME" "haketilo") ("hydrilla" "" "IN" "CNAME" "salamina") - ("hydrillabugs" "" "IN" "CNAME" "salamina") + ("hydrillabugs" "" "IN" "CNAME" "@") ("www.hydrillabugs" "" "IN" "CNAME" "hydrillabugs") ("imap" "" "IN" "CNAME" "salamina") - ("ns1" "" "IN" "CNAME" "antioch") ("ns2" "" "IN" "CNAME" "salamina") - ("pray" "" "IN" "CNAME" "salamina") + ("pray" "" "IN" "CNAME" "@") ("www.pray" "" "IN" "CNAME" "pray") - ("sheets" "" "IN" "CNAME" "salamina") + ("sheets" "" "IN" "CNAME" "@") ("www.sheets" "" "IN" "CNAME" "sheets") ("smtp" "" "IN" "CNAME" "salamina") @@ -586,7 +586,7 @@ (entries (make-koszko-zone-entries domain)) (ns "ns2") (mail "koszko") - (serial 2024070301))) + (serial 2024091500))) (acl '("allow-axfr-from-1984")) (semantic-checks? #t) (notify '("1984-axfr-remote")))) |