Servers, Hosting & DevOps

Email & DNS configuration

DNS and email are the two areas where a small mistake has outsized, delayed consequences. A wrong MX record silently bounces invoices. A too-permissive SPF record gets your domain spoofed. A missing DMARC policy means you have no idea either is happening.

This work is quick when done deliberately and expensive when done by trial and error on a live domain.

What is included

The work itself

DNS setup and audit

A, AAAA, CNAME, MX, TXT, SRV and CAA records reviewed and corrected, with TTLs chosen for the situation rather than left at whatever the panel defaulted to.

Email authentication

SPF written to cover every legitimate sender without exceeding the ten-lookup limit, DKIM signing enabled and verified, and DMARC introduced in monitoring mode before enforcement.

Business email setup

Google Workspace, Microsoft 365 or server-hosted mailboxes, configured, migrated and tested, including client setup and mobile devices.

Transactional email

Application mail routed through a proper sending service with its own authenticated subdomain, so a marketing send cannot damage the reputation of your password reset emails.

Deliverability troubleshooting

Diagnosing spam placement, reading message headers, checking blocklists and handling delisting requests.

DMARC reporting

Aggregate reports collected and interpreted, so the move to a reject policy is based on data rather than hope.

Domain and subdomain planning

Sensible use of subdomains for staging, mail and applications, with certificates that cover them.

How I work on it

Process

Adjusted to the job, but this is the shape it usually takes.

  1. Record what exists

    A full export of current DNS before any change. This is the rollback.

  2. Lower TTLs first

    Changes made after TTLs are reduced, so a mistake is minutes to correct rather than a day.

  3. Authenticate in stages

    SPF, then DKIM, then DMARC at p=none with reporting. Enforcement comes only once the reports show all legitimate mail passing.

  4. Verify externally

    Test sends to multiple providers and header inspection. Provider-side dashboards are not enough on their own.

Questions

Things people ask

SPF alone is not enough for most providers now. Without DKIM signing, forwarded mail fails authentication, and without DMARC there is no policy telling receivers what to do. Add to that missing reverse DNS or a shared IP with a poor history, and SPF being correct barely moves the needle.

Start at p=none with an rua address so you get reports without affecting delivery. Read them for a few weeks, fix whatever legitimate sender is failing, then move to quarantine and eventually reject. Jumping straight to reject is how internal mail disappears.

Usually not, for a business that depends on email. Separating them means a website compromise or an overloaded server does not take your mail down with it, and mailbox providers handle spam filtering and storage better than a self-hosted setup will.

Need help with email & dns configuration?

Tell me the situation and what you have already tried. I read the code and the server before quoting anything.

Get in touch