Presets, mail health and delegation

A customer with a domain at another provider has to publish a handful of records before a site or mail works there. The Connect tab of a zone does that work as a preset: it writes the records of one service into the zone after showing exactly what would change. Beside it, the same page judges the zone's mail health and offers a fix for what is wrong. A separate Delegation tab answers the question after a name-server move: does the public DNS now point at Salt, and does every server answer with the current zone?

All of this is in the console under one zone. Every write needs the :manage right on the zone (owners and admins).

Presets

PresetWhat it writes
Balie siteThe apex A and AAAA records of the installation's load balancers, and www as a CNAME to the apex.
Tienda shopThe same shape, for the addresses a Tienda shop answers on.
Kantoor mailThe apex MX, the platform's SPF mechanisms merged into the zone's SPF record, a DMARC record when there is none, and the mail-app discovery records (autoconfig, autodiscover, IMAP, submission, CalDAV and CardDAV SRV and TXT).
Google WorkspaceMX 1 smtp.google.com, include:_spf.google.com in SPF, and a DMARC record when there is none.
Microsoft 365The tenant MX (<domain-with-dashes>.mail.protection.outlook.com), include:spf.protection.outlook.com, autodiscover.outlook.com, and a DMARC record when there is none.

A preset is offered only when the installation has its target configured (Configuration). The provider presets need no configuration.

What a preset never does

The rules follow the customer manual, "DNS records for your own domain":

  • It never makes the zone equal to anything. Records the preset does not name are left alone. The preview lists every change; a line with + is added, a line with - is replaced.
  • SPF is merged, not replaced. The zone's mechanisms and its all qualifier stay; the preset's mechanisms are added once, before all (or before redirect=). Two SPF records stop the preset: receivers treat that as a permanent error, and the preset refuses to guess which one is meant.
  • An existing DMARC record is never changed. The preset writes one only when the zone has none (p=none with rua= to an address you read).
  • MX records are replaced: a domain has one set of mail servers. Every other record set the preset writes is replaced as a whole too; its TTL is kept when it already exists.
  • A disabled record is not dropped. If a record set the preset would write holds a disabled record, the preset refuses and names it; enable or delete it first.
  • Nothing is written without the preview. Applying plans again against the zone as it is at that moment, so a change made in between is never hidden. The batch is one audit row with source Preset.

DKIM is not part of the mail presets: the key belongs to the provider. Karta publishes it when the domain is verified there; Google Workspace and Microsoft 365 give it in their admin consoles. The mail-health Add the key form writes it as a TXT record (Karta, Google) or a CNAME (Microsoft 365's selector1 and selector2).

Mail health

The check reads the zone's own records and reports each part as OK, Check or Fail, with a red/amber/green summary:

CheckWhat is judged
MXAn MX record exists, is not the null MX (0 .), and its target is shown.
SPFOne record; not +all; ends in -all or ~all; includes the platform's or provider's senders. Two records, +all and a missing record fail; a soft fail and a missing include ask for a look.
DKIMA *._domainkey record with a public key (p=). For Kantoor mail a karta- selector is expected; Google Workspace's google and Microsoft 365's selector1/selector2 are recognised. An empty p= is a revoked selector and fails.
DMARCA v=DMARC1 record with a policy. p=none is monitoring only and asks for a look; quarantine and reject pass; a missing record fails. The rua= and alignment (adkim, aspf) are shown.
MTA-STSThe _mta-sts TXT announcement and the mta-sts.<zone> host must both exist. Absent is a warning: the policy is a file on a web server, so Salt cannot write it.
TLS-RPTThe _smtp._tls record, so you hear about TLS failures on incoming mail. Optional; the fix asks for the address reports should go to.
Mail app settingsThe discovery records of the provider (Kantoor's SRV set, Microsoft 365's autodiscover).
Sender alignmentThe sender policy and signing key line up with the mail provider the MX records name.

A finding a preset covers has a Fix button: it opens the same preview, with only that part. The provider is recognised from the MX records (Kantoor, Google Workspace, Microsoft 365, or another provider). What the check cannot see from DNS is not guessed: a key is compared by the provider that holds the private half, and an MTA-STS policy is a file Salt does not serve.

Delegation and propagation

After the name servers are changed at the registrar, the parent zone can take hours to show it (at most the old NS record's TTL, usually a day). The Delegation tab asks:

  1. The parent's referral: the NS names the parent's own servers publish for the zone, read from the parent with recursion off. A recursive resolver would ask the zone itself, which may not be served yet.
  2. Who those names are: Salt's configured nameservers (SALT_DNS_NAMESERVERS) are marked as Salt's. A name that is not one of them is another provider, and that is the "the old provider still answers" case: while both answer, some resolvers may get the old zone.
  3. Each server's answer: every address of every delegated name is asked for the zone's SOA, and the serial is compared with the primary's. A server that is behind or silent is shown as such; an address family this host cannot reach (no IPv6 route) is not checked, never "no answer".

The verdict is:

VerdictMeaning
Delegated to Salt and up to dateThe parent names Salt's servers and every server that answered has the primary's serial.
Delegated to Salt; a server is catching upRight delegation, but a server is behind, ahead or did not answer. Check again in a few minutes.
Another provider is still in the delegationSalt's servers are named, and so are others. Remove them at the registrar.
The parent does not delegate to SaltSalt's nameservers are missing from the referral.
The delegation could not be readNo usable referral. Nothing is concluded; try again.

The check changes nothing and needs no key. Only public addresses are asked (SaltDns.AddressFilter), at most six servers, with a deadline for the whole walk.

Modules