Migrate zulip to chankillo and fix DNS issues
authorAlex Dehnert <alex@dehnerts.com>
Mon, 31 Jul 2023 21:54:27 +0000 (21:54 +0000)
committerAlex Dehnert <alex@dehnerts.com>
Mon, 31 Jul 2023 21:54:27 +0000 (21:54 +0000)
- Update `zulip` DNS to point at chankillo and support the DNS-01 challenge for
  wildcard certs
- MxToolbox identifies some issues, and they mostly seem fairly harmless, but
  also fairly harmless to fix, and making MxToolbox alerting more useful is
  good:
  - Use ns1, not ns, as the primary nameserver in the zone
  - Remove Linode nameserver that shares a subnet with another one
  - Remove ns3 (olinda), which isn't running right now and is on the same
    subnet as ns1 (chankillo)

named.conf.chankillo
pri/combined-dehnerts.zone

index 0786a25e76406405f64cab10d9649464afdaa115..26de59e7d9a0ba29792b740b154978404957f631 100644 (file)
@@ -13,6 +13,7 @@ zone "dynamic.dehnerts.com" IN {
             grant chankillo.dynamic.dehnerts.com name _acme-challenge.smtp.dynamic.dehnerts.com TXT;
             grant chankillo.dynamic.dehnerts.com name _acme-challenge.imap.dynamic.dehnerts.com TXT;
             grant chankillo.dynamic.dehnerts.com name _acme-challenge.pop.dynamic.dehnerts.com TXT;
+            grant chankillo.dynamic.dehnerts.com name _acme-challenge.zulip.dynamic.dehnerts.com TXT;
         };
        allow-transfer { "transfer-allowed"; };
        allow-query { any; };
index 109a01d422dd3be7e768be21f36b1a0e6c493e9d..e89c191fa9c526368b291435046623892dfe4150 100644 (file)
@@ -1,19 +1,19 @@
 $TTL 300
-@       IN      SOA     ns root (
-                                    2023072706 ; Serial
+@       IN      SOA     ns1 root (
+                                    2023073101 ; Serial
                                     4h         ; slave refresh
                                     15m        ; slave retry time in case of a problem
                                     4w         ; slave expiration time
                                     300        ; maximum caching time in case of failed lookups (5 minutes)
                                 )
        IN      NS      ns1.dehnerts.com.
-       IN      NS      ns3.dehnerts.com.
        IN      NS      ns1.sipb.org.
        IN      NS      ns1.linode.com.
        IN      NS      ns2.linode.com.
        IN      NS      ns3.linode.com.
        IN      NS      ns4.linode.com.
-       IN      NS      ns5.linode.com.
+        ; Same subnet as ns2, which mxtoolbox.com thinks is bad
+       ;IN     NS      ns5.linode.com.
        IN      A       18.18.208.22
        IN      MX      10      smtp
 ;      IN      MX      20      adehnert3.xvm.mit.edu.
@@ -116,8 +116,9 @@ adehnert-test-d IN  CNAME   adehnert-test-d.mit.edu.
 _acme-challenge.adehnert-test-d IN  CNAME _acme-challenge.adehnert-test-d.dynamic
 
 ; Zulip
-zulip  IN      CNAME   olinda
-*.zulip        IN      CNAME   olinda
+zulip  IN      CNAME   chankillo
+_acme-challenge.zulip    IN  CNAME _acme-challenge.zulip.dynamic
+*.zulip        IN      CNAME   chankillo
 em3230.zulip    IN  CNAME   u22946278.wl029.sendgrid.net.
 s1._domainkey.zulip IN CNAME    s1.domainkey.u22946278.wl029.sendgrid.net.
 s2._domainkey.zulip IN CNAME    s2.domainkey.u22946278.wl029.sendgrid.net.