Alias Domain - DNS Records

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

@staff,

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…

  1. Enable the “DNS Records” screen for an Alias.
  2. 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. ***

Let me look into this and see if there’s a way we can support alias domains with their own DNS records. That shouldn’t be too hard …

1 Like

Ok the next Virtualmin release will optionally support alias domains with their own DNS records.

2 Likes

Is that just the way it is for your “relay” host or is that the accepted norm ?
just a passing thought :sheep:

@Stegan,

Typically you’d setup an SPF record when needed. Our backhaul provider doesn’t require it for us, as they’ve addressed the issue on their end.

In their words, here’s why:

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.