SYSTEM INFORMATION | |
---|---|
OS type and version | Debian Linux 12 |
Usermin version | 2.102 |
Virtualmin version | 7.20.2 |
Theme version | 21.20.7 |
Apache version | 2.4.62 |
Package updates | All installed packages are up to date |
When you add a domain as an “Alias”, and the “Top-Level” domain has DNS enabled, you can enable “DNS” from the features of the Alias… However…
You cannot modify the DNS Records of the Alias from Virtualmin.
Now I get this may have been by design in order to keep Aliases in sync with the Top-Level domain they are aliasing, however a situation dawned on me that perhaps has not been considered with regards (for the moment) with email specifically…
We utilize a third-party “relay” host for outbound email delivery. In order to use their system, they create “DKIM” and optionally “DMARC” records for use with their service (without adding these records they won’t send your mail).
Hence, the issue is that because Aliases don’t get a DNS Records page, you cannot add the domain-specific DKIM / DMARC records.
So, a proposed solution to allow for an enhanced DNS Records option would be…
- Enable the “DNS Records” screen for an Alias.
- If the domain type is “Alias” add a checkbox that says something like “Keep Sync’d with Top-Level Domain” which would be checked by default. If checked the “Delete”, “Create”, “Reset” and “Edit” buttons would be disabled, and the Records in the table would be read-only. If unchecked the page would work like the Top-Level DNS Records page allowing you to make updates and additions to the Alias.
*** When an alias is created initially it’d replicate the top-level domain like the current setup does and as noted “Keep Sync’d with Top-Level Domain” checkbox would be checked ***
*** SPF Records were not mentioned above, as they don’t require them based on how their service is designed. ***