From 00affbbcaacdd1ef099e2e5a2c6cd9eb414e4597 Mon Sep 17 00:00:00 2001 From: "W. Kosior" Date: Wed, 25 Sep 2024 14:59:30 +0200 Subject: Refactor DNS entries. --- salamina.scm | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'salamina.scm') 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")))) -- cgit v1.2.3