Adding DKIM for MailChimp to an Alias Domain

I have an alias domain that has separate e-mail accounts. I also use it as my sending address on Mailchimp, which means it has always had Mailchimp’s DKIM information on its ns records (e.g. CNAME entries pointing dkim2.mcsv.net and dkim3.mcsv.net). However, I don’t seem to see a way to edit the DNS records for an alias domain (even an alias with e-mail). I don’t want to convert it to a subserver, since it needs to use the same root directory as the parent server.

Can I somehow edit the BIND information for that domain that Virtualmin won’t overwrite?

I tried to edit the zone file in the BIND editor in Webmin, despite the warning that it’d get overwritten, at least as a temporary fix. Unfortunately, that didn’t seem to synchronize to the slave DNS servers, so it didn’t even temporarily allow me to add the CNAME info.

SYSTEM INFORMATION
OS type and version Debian 12
Webmin version 2.202
Virtualmin version 7.20.2
Webserver version NGINX 1.18.0/Apache 2.4.52
Related packages DCC, Pyzor, Razor, OpenDMARC, OpenDKIM

Yes, it would be good if Virtualmin offered this, just as it offers menu options to edit the DNS records of top level virtual servers.

#FeatureRequest

At present, you could edit the records via Webmin → Servers → Bind DNS and then find the alias domain in the list of domains.

I have no problem of the sort that you describe in editing the DNS records or their syncing to slave DNS on my Debian 11 systems. I don’t know about Debian 12.

1 Like

Yes, I’m not really sure why it wouldn’t be supported. Second that feature request…

I did the edit exactly as you described, then used rndc retransfer [domain] from one of the slave servers just for good measure. The zone edits never moved from the master to the slave for whatever reason.