From 5b9c1a0e0f2ec0f9fee8c62a85ce0e1fa08400ab Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Mon, 19 Jun 2023 14:48:52 -0400 Subject: [PATCH] Add fastmail DNS records. --- ansible/roles/public_dns/files/master.db | 45 ++++++++++++++++++++++-- 1 file changed, 42 insertions(+), 3 deletions(-) diff --git a/ansible/roles/public_dns/files/master.db b/ansible/roles/public_dns/files/master.db index a4cbbcb..d5ec35d 100644 --- a/ansible/roles/public_dns/files/master.db +++ b/ansible/roles/public_dns/files/master.db @@ -1,5 +1,6 @@ $ORIGIN fizz.buzz. -@ 3600 IN SOA sns.dns.icann.org. noc.dns.icann.org. ( +@ 3600 IN SOA ns1.vultr.com. ( + dnsadm.choopa.com. ; E-Mail of responsible person 2023061800 ; serial 7200 ; refresh (2 hours) 3600 ; retry (1 hour) @@ -7,8 +8,46 @@ $ORIGIN fizz.buzz. 3600 ; minimum (1 hour) ) - 3600 IN NS a.iana-servers.net. - 3600 IN NS b.iana-servers.net. + 3600 IN NS ns1.vultr.com. + 3600 IN NS ns2.vultr.com. + +; Allow receiving mail at fizz.buzz +1h IN MX 10 in1-smtp.messagingengine.com +1h IN MX 20 in2-smtp.messagingengine.com + +; Allows receivers to know you send your mail via Fastmail, and other servers +1h IN TXT v=spf1 include:spf.messagingengine.com ?all + +; Access webmail at mail.fizz.buzz +mail IN A 103.168.172.47 + IN A 103.168.172.48 + IN A 103.168.172.62 + IN A 103.168.172.63 + +; Allow signing of mail +mesmtp._domainkey IN CNAME mesmtp.fizz.buzz.dkim.fmhosted.com. +fm1._domainkey IN CNAME fm1.fizz.buzz.dkim.fmhosted.com. +fm2._domainkey IN CNAME fm2.fizz.buzz.dkim.fmhosted.com. +fm3._domainkey IN CNAME fm3.fizz.buzz.dkim.fmhosted.com. www IN A 127.0.0.1 IN AAAA ::1 + +; Allows email clients to automatically find the correct settings for your account. + +_submission._tcp IN SRV 0 1 587 smtp.fastmail.com +_imap._tcp IN SRV 0 0 0 . +_imaps._tcp IN SRV 0 1 993 imap.fastmail.com +_pop3._tcp IN SRV 0 0 0 . +_pop3s._tcp IN SRV 10 1 995 pop.fastmail.com +_jmap._tcp IN SRV 0 1 443 api.fastmail.com + +; Allows CardDAV clients to automatically find the correct settings for your account. + +_carddav._tcp IN SRV 0 0 0 . +_carddavs._tcp IN SRV 0 1 443 carddav.fastmail.com + +; Allows CalDAV clients to automatically find the correct settings for your account. + +_caldav._tcp IN SRV 0 0 0 . +_caldavs._tcp IN SRV 0 1 443 caldav.fastmail.com