From b00aef931829bd43fe2da8c46ce0f00181d2f299 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Mon, 19 Jun 2023 15:02:07 -0400 Subject: [PATCH] Add support for subdomains. --- ansible/roles/public_dns/files/master.db | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ansible/roles/public_dns/files/master.db b/ansible/roles/public_dns/files/master.db index 65c9724..468c8c6 100644 --- a/ansible/roles/public_dns/files/master.db +++ b/ansible/roles/public_dns/files/master.db @@ -21,6 +21,14 @@ $ORIGIN fizz.buzz. ns1 IN A 74.80.180.138 ; ns2 IN A 74.80.180.138 +; Allow receiving mail on subdomains +* 1h IN MX 10 in1-smtp.messagingengine.com +* 1h IN MX 20 in2-smtp.messagingengine.com + +; The A-records for mail.fizz.buzz override the wildcard, so we have to manually re-create the MX records +mail 1h IN MX 10 in1-smtp.messagingengine.com +mail 1h IN MX 20 in2-smtp.messagingengine.com + ; Access webmail at mail.fizz.buzz mail IN A 103.168.172.47 IN A 103.168.172.48