Skip to content

Instantly share code, notes, and snippets.

@thcrt
Last active July 8, 2023 16:04
Show Gist options
  • Save thcrt/f63962bb22deb05b2925248693e2bec9 to your computer and use it in GitHub Desktop.
Save thcrt/f63962bb22deb05b2925248693e2bec9 to your computer and use it in GitHub Desktop.
A basic zonefile for configuring DNS for Fastmail
$ORIGIN theocourt.com.
$TTL 86400
; SOA Records
@ IN SOA [[ SOA RECORDS HERE ]]
; NS Records
@ IN NS [[ NS RECORDS HERE ]]
; MX Records
* IN MX 10 in1-smtp.messagingengine.com
* IN MX 20 in2-smtp.messagingengine.com
@ IN MX 10 in1-smtp.messagingengine.com.
@ IN MX 20 in2-smtp.messagingengine.com.
; A Records
@ IN A [[ A RECORDS HERE ]]
www IN A [[ A RECORDS HERE ]]
; AAAA Records
@ IN AAAA [[ AAAA RECORDS HERE ]]
www IN AAAA [[ AAAA RECORDS HERE ]]
; CNAME Records
fm1._domainkey IN CNAME fm1.[[ YOUR DOMAIN HERE ]].dkim.fmhosted.com.
fm2._domainkey IN CNAME fm2.[[ YOUR DOMAIN HERE ]].dkim.fmhosted.com.
fm3._domainkey IN CNAME fm3.[[ YOUR DOMAIN HERE ]].dkim.fmhosted.com.
; TXT Records
@ IN TXT "v=spf1 include:spf.messagingengine.com ?all"
; Others
_caldav._tcp IN SRV 0 0 0 .
_caldavs._tcp IN SRV 0 1 443 caldav.fastmail.com
_carddav._tcp IN SRV 0 0 0 .
_carddavs._tcp IN SRV 0 1 443 carddav.fastmail.com
_imap._tcp IN SRV 0 0 0 .
_imaps._tcp IN SRV 0 1 993 imap.fastmail.com
_jmap._tcp IN SRV 0 1 443 api.fastmail.com
_pop3._tcp IN SRV 0 0 0 .
_pop3s._tcp IN SRV 10 1 995 pop.fastmail.com
_submission._tcp IN SRV 0 1 587 smtp.fastmail.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment