distorted.lisp: Prepare for LetsEncrypt certificate on outward IMAP/SMTP.
[zones] / odin.lisp
index 8263a74..f17fc24 100644 (file)
--- a/odin.lisp
+++ b/odin.lisp
   ;; Nameservers
   :ns ((radius-ns :ip radius)
        (precision-ns :ip precision)
-       ns6.gandi.net.)
+       (telecaster-ns :ip telecaster)
+       (national-ns :ip national))
 
   ;; Web service.
-  ((@ www) :svc stratocaster)
+  ((@ www) :svc stratocaster
+          :tlsa (:https (:service-certificate-constraint
+                         :public-key :sha-256 #p"https-stratocaster")))
+
+  ;; Certification.
+  :caa ((:issue "letsencrypt.org")
+       (:issue "distorted.org.uk"))
 
   ;; Mail servers
-  (@ :ttl 300
-     :mx ((mail :ip vampire))
-     :srv ((:smtp mail))))
+  :mx ((mail :ip stratocaster))
+  :srv ((:smtp mail))
+
+  (stratocaster.20140403._domainkey
+   :dkim ("stratocaster-20140403"
+         :v "DKIM1" :k "rsa" :h "sha256" :s "email")))