Hi all,
Before I file this as a feature request: is there already a way to have the default DNS records (Settings → Platform → DNS zone templating) added to subdomains too? If I've missed a setting, please point me to it.
Our setup: we use MailBaby as smart host, which needs an SPF record and a verification TXT record on every name that sends mail. Our template has:
- TXT @ → v=spf1 a mx include:spf-c.mailbaby.net ~all
- TXT _mailbaby → v=1 user=mbXXXXX
These are added correctly to new websites and domains. But when a customer creates a subdomain (e.g. sub.example.com) and a mailbox on it, Enhance adds the subdomain's A, AAAA and MX records to the parent zone, but not the template records. SPF isn't inherited from the parent domain, so the smart host rejects mail from info@sub.example.com until we add the two records by hand.
If it isn't supported, I'd like to request it: when a subdomain is created, apply the template records to it as well, with names relative to the subdomain (@ → sub, _mailbaby → _mailbaby.sub). A per-record "Also apply to subdomains" toggle would be ideal, since not every template record belongs on a subdomain.
Thanks!