<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Mira John</title>
    <description>The latest articles on DEV Community by Mira John (@dnsnotify).</description>
    <link>https://dev.to/dnsnotify</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4132997%2Facd65a8b-6bad-4291-ab09-74886334bd8f.png</url>
      <title>DEV Community: Mira John</title>
      <link>https://dev.to/dnsnotify</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/dnsnotify"/>
    <language>en</language>
    <item>
      <title>Preserve email DNS when moving a client website</title>
      <dc:creator>Mira John</dc:creator>
      <pubDate>Mon, 23 Nov 2026 16:16:44 +0000</pubDate>
      <link>https://dev.to/dnsnotify/preserve-email-dns-when-moving-a-client-website-307i</link>
      <guid>https://dev.to/dnsnotify/preserve-email-dns-when-moving-a-client-website-307i</guid>
      <description>&lt;p&gt;Moving a client's website and moving their email are separate jobs. A DNS change can accidentally combine them.&lt;/p&gt;

&lt;p&gt;The new website loads. The launch is signed off. Then someone notices that enquiries are bouncing, outgoing messages fail authentication, or Outlook has stopped finding the mailbox settings.&lt;/p&gt;

&lt;p&gt;The useful check is a before-and-after comparison of the public mail configuration. Do it before changing nameservers, repeat it against the new authoritative servers, and send test messages after the move.&lt;/p&gt;

&lt;p&gt;I build &lt;a href="https://dnsnotify.com/" rel="noopener noreferrer"&gt;DNS Notify&lt;/a&gt;. Here is a practical sequence for web agencies moving a site while leaving the client's email service in place.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Record the current authoritative nameservers
&lt;/h2&gt;

&lt;p&gt;Find the domain's nameservers and keep the zone export from the existing DNS provider. Confirm who controls the registrar and which provider will serve the new zone.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;dig client.example NS +short
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Use an authoritative server from that result for the record checks. Replace &lt;code&gt;ns1.provider.example&lt;/code&gt; and &lt;code&gt;client.example&lt;/code&gt; with the client's actual values.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;dig @ns1.provider.example client.example MX +noall +answer
dig @ns1.provider.example client.example TXT +noall +answer
dig @ns1.provider.example _dmarc.client.example TXT +noall +answer
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This captures the public answers at the source. Save the record names, types, priorities, values and TTLs with the launch notes.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Preserve the mail records in the new zone
&lt;/h2&gt;

&lt;p&gt;Keep the existing configuration unless an email migration is part of the agreed work.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Record&lt;/th&gt;
&lt;th&gt;What to preserve&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;MX&lt;/td&gt;
&lt;td&gt;Every intended mail exchanger and its priority&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;SPF&lt;/td&gt;
&lt;td&gt;The existing &lt;code&gt;v=spf1&lt;/code&gt; TXT policy, including authorised sending services&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DKIM&lt;/td&gt;
&lt;td&gt;Each active selector's TXT or CNAME record&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;DMARC&lt;/td&gt;
&lt;td&gt;The policy at &lt;code&gt;_dmarc&lt;/code&gt;, including reporting destinations&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Provider-specific records&lt;/td&gt;
&lt;td&gt;Verification records, Autodiscover and other records required by the current mail provider&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A website host's default zone is not a complete inventory of the client's mail configuration. Compare the records against the zone export and the email provider's current settings.&lt;/p&gt;

&lt;p&gt;For common configurations, the &lt;a href="https://emaildns.gitlab.io/microsoft-365-dns/" rel="noopener noreferrer"&gt;Microsoft 365 DNS setup guide&lt;/a&gt; and &lt;a href="https://emaildns.gitlab.io/google-workspace-dns/" rel="noopener noreferrer"&gt;Google Workspace DNS setup guide&lt;/a&gt; show the relevant records and link to the provider's administration portal.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Check DKIM by its active selector
&lt;/h2&gt;

&lt;p&gt;Read a recently sent message's &lt;code&gt;DKIM-Signature&lt;/code&gt; header. The &lt;code&gt;d=&lt;/code&gt; value gives the signing domain and &lt;code&gt;s=&lt;/code&gt; gives the selector.&lt;/p&gt;

&lt;p&gt;Query that selector under &lt;code&gt;_domainkey&lt;/code&gt; at the signing domain:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;dig @ns1.provider.example selector1._domainkey.client.example TXT +noall +answer
dig @ns1.provider.example selector1._domainkey.client.example CNAME +noall +answer
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Microsoft 365 commonly uses selector CNAMEs; other providers publish a TXT key directly or use their own selector names. Preserve the actual record type and value the provider supplies.&lt;/p&gt;

&lt;p&gt;If the record is missing, use the focused &lt;a href="https://emaildns.gitlab.io/microsoft-365-dns/dkim/" rel="noopener noreferrer"&gt;Microsoft 365 DKIM guide&lt;/a&gt; or &lt;a href="https://emaildns.gitlab.io/google-workspace-dns/dkim/" rel="noopener noreferrer"&gt;Google Workspace DKIM guide&lt;/a&gt; to restore the correct configuration.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Keep one SPF policy at each sending domain
&lt;/h2&gt;

&lt;p&gt;Several TXT records at the domain can be normal. Two separate TXT records beginning &lt;code&gt;v=spf1&lt;/code&gt; are not: SPF evaluation returns &lt;code&gt;permerror&lt;/code&gt; when it selects more than one SPF record.&lt;/p&gt;

&lt;p&gt;Preserve the existing policy and merge any genuinely required new sender into it. A web host's suggested SPF record should not replace the client's Microsoft 365, Google Workspace or transactional-mail authorisation without checking which systems still send mail.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://emaildns.gitlab.io/guides/spf/" rel="noopener noreferrer"&gt;SPF setup guide&lt;/a&gt; covers the record and lookup checks. &lt;a href="https://www.rfc-editor.org/rfc/rfc7208.html#section-4.5" rel="noopener noreferrer"&gt;RFC 7208 section 4.5&lt;/a&gt; defines the multiple-record result.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Query the new servers before changing delegation
&lt;/h2&gt;

&lt;p&gt;Once the new zone is ready, query each new authoritative server directly for the saved names. Compare the answers with the intended baseline, including the active DKIM selectors.&lt;/p&gt;

&lt;p&gt;Then change the nameserver delegation at the registrar. During the transition, keep the records consistent on the old and new providers while cached delegations expire. Query both sets to confirm that either path returns the intended configuration.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://github.com/dnsnotify/dns-incident-response/blob/main/runbooks/nameserver-migration.md" rel="noopener noreferrer"&gt;nameserver migration runbook&lt;/a&gt; is a useful companion for the website and delegation checks.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Test the messages, not just the DNS records
&lt;/h2&gt;

&lt;p&gt;Send an external message to the client's business address and reply from the client mailbox. Check the receiving system's authentication results for SPF, DKIM and DMARC.&lt;/p&gt;

&lt;p&gt;Also test the website's contact form. It may use a separate sending service even when staff mail remains in Microsoft 365 or Google Workspace. Confirm that an enquiry reaches the intended inbox and that the notification message authenticates as expected.&lt;/p&gt;

&lt;p&gt;Run the &lt;a href="https://emaildns.gitlab.io/" rel="noopener noreferrer"&gt;Email DNS checker&lt;/a&gt; for a readable public record check. Keep the final snapshot with the launch record, alongside the provider details and the contact responsible for email.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Keep the accepted records under watch
&lt;/h2&gt;

&lt;p&gt;The records can be correct on launch day and change later during another supplier's DNS edit. That is where independent monitoring earns its place in an agency's maintenance service.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dnsnotify.com/mx-record-monitoring/" rel="noopener noreferrer"&gt;Monitor MX records with DNS Notify&lt;/a&gt; and include the SPF, DKIM and DMARC records you have confirmed. &lt;a href="https://dnsnotify.com/nameserver-monitoring/" rel="noopener noreferrer"&gt;Nameserver monitoring&lt;/a&gt; watches the delegated server set separately. Alerts show the accepted value beside the changed value, giving the agency something concrete to investigate.&lt;/p&gt;

&lt;p&gt;DNS Notify is &lt;strong&gt;£5 a month for five domains&lt;/strong&gt;. It checks public state without asking for access to the client's DNS-provider account, with a &lt;strong&gt;seven-day trial and no card required&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dnsnotify-links.igor-85e.workers.dev/dev-email-move" rel="noopener noreferrer"&gt;Start monitoring the client domains you maintain&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>dns</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>A domain monitoring checklist for website care plans</title>
      <dc:creator>Mira John</dc:creator>
      <pubDate>Mon, 23 Nov 2026 16:14:49 +0000</pubDate>
      <link>https://dev.to/dnsnotify/a-domain-monitoring-checklist-for-website-care-plans-3ph1</link>
      <guid>https://dev.to/dnsnotify/a-domain-monitoring-checklist-for-website-care-plans-3ph1</guid>
      <description>&lt;p&gt;A website care plan usually has a clear home for backups, updates and hosting. Domain registration, DNS and certificates often sit across several other accounts.&lt;/p&gt;

&lt;p&gt;The client owns the registrar login. A previous developer controls the DNS zone. The website runs on a managed host. Email belongs to Microsoft 365 or Google Workspace. Everything works at handover, so those arrangements disappear into the project notes.&lt;/p&gt;

&lt;p&gt;Then a nameserver change replaces the zone, a certificate stops renewing, or the domain approaches expiry. The agency may not own the account that needs fixing, but it is still the first supplier the client calls.&lt;/p&gt;

&lt;p&gt;An independent monitoring check fits neatly into a care plan: watch the public values, receive an alert when a monitored value changes, and know who should investigate.&lt;/p&gt;

&lt;p&gt;I build &lt;a href="https://dnsnotify.com/" rel="noopener noreferrer"&gt;DNS Notify&lt;/a&gt;. This is the checklist I suggest for agencies deciding what to watch after launch.&lt;/p&gt;

&lt;h2&gt;
  
  
  Start with a short domain inventory
&lt;/h2&gt;

&lt;p&gt;Keep one row per client domain, with the registrar, authoritative DNS provider, web host, email provider and responsible contact. Record the actual account owner rather than assuming the company that built the website also controls the domain.&lt;/p&gt;

&lt;p&gt;Include the main business domain and any separate campaign or trading domains that still receive enquiries. A redirecting domain can matter just as much as the primary site if it appears on printed material or an old customer bookmark.&lt;/p&gt;

&lt;p&gt;For each domain, capture the current nameserver set, website records, mail records, public certificate and registration expiry. The &lt;a href="https://dnsnotify.com/dns-scanner/" rel="noopener noreferrer"&gt;free DNS scanner&lt;/a&gt; is a useful starting snapshot; the &lt;a href="https://domain-expiry.pages.dev/" rel="noopener noreferrer"&gt;domain expiry checker&lt;/a&gt; also provides a calendar reminder.&lt;/p&gt;

&lt;h2&gt;
  
  
  Watch the records that connect the website
&lt;/h2&gt;

&lt;p&gt;Record the intended A, AAAA and CNAME answers for the public hostnames. Check the apex and &lt;code&gt;www&lt;/code&gt; separately: they can use different records and different certificates.&lt;/p&gt;

&lt;p&gt;Keep an accepted baseline after the launch is signed off. When the host or CDN changes, review the new values and update that baseline. A change alert is then something to check against the planned work, rather than another message everyone learns to ignore.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dnsnotify.com/dns-change-monitoring/" rel="noopener noreferrer"&gt;DNS change monitoring&lt;/a&gt; is particularly useful when the agency cannot see every change made in the client's provider account.&lt;/p&gt;

&lt;h2&gt;
  
  
  Monitor the nameservers as a separate item
&lt;/h2&gt;

&lt;p&gt;A nameserver move changes where the authoritative zone is served. Watching only the old zone's website records misses that change in responsibility.&lt;/p&gt;

&lt;p&gt;Record the delegated nameserver set and confirm which provider should be authoritative. After a migration, query each authoritative server for the important website and mail records. Keep the previous zone export with the handover notes.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://github.com/dnsnotify/dns-incident-response/blob/main/runbooks/nameserver-migration.md" rel="noopener noreferrer"&gt;nameserver migration runbook&lt;/a&gt; gives a compact sequence for that check. Once the migration is complete, &lt;a href="https://dnsnotify.com/nameserver-monitoring/" rel="noopener noreferrer"&gt;nameserver monitoring&lt;/a&gt; makes later changes visible.&lt;/p&gt;

&lt;h2&gt;
  
  
  Include email even when you do not run the mail platform
&lt;/h2&gt;

&lt;p&gt;A website launch can change DNS without changing the email subscription. That is why MX, SPF, DKIM and DMARC belong in the pre-launch inventory.&lt;/p&gt;

&lt;p&gt;Before a nameserver or zone move, record the MX targets, the existing SPF policy, active DKIM selector records and the DMARC policy. Preserve other mail-related records the client's provider requires.&lt;/p&gt;

&lt;p&gt;Use the &lt;a href="https://emaildns.gitlab.io/" rel="noopener noreferrer"&gt;Email DNS checker&lt;/a&gt; to inspect the public configuration. Its &lt;a href="https://emaildns.gitlab.io/microsoft-365-dns/" rel="noopener noreferrer"&gt;Microsoft 365&lt;/a&gt; and &lt;a href="https://emaildns.gitlab.io/google-workspace-dns/" rel="noopener noreferrer"&gt;Google Workspace&lt;/a&gt; guides link to the relevant setup steps and provider portals.&lt;/p&gt;

&lt;p&gt;After a working configuration is agreed, &lt;a href="https://dnsnotify.com/email-dns-monitoring/" rel="noopener noreferrer"&gt;monitor the MX and email DNS records&lt;/a&gt;. The person receiving the alert should know which contact owns the mail service.&lt;/p&gt;

&lt;h2&gt;
  
  
  Check the certificate visitors receive
&lt;/h2&gt;

&lt;p&gt;A renewal job can succeed while a proxy, load balancer or server continues to serve the previous certificate. Check the public hostname, with the correct hostname indication, rather than relying solely on a renewal log.&lt;/p&gt;

&lt;p&gt;For a manual check, use the &lt;a href="https://dnsnotify.com/ssl-certificate-checker/" rel="noopener noreferrer"&gt;SSL certificate checker&lt;/a&gt;. For a deployment problem, follow the &lt;a href="https://ssl-monitoring.pages.dev/guides/renewed-certificate-old-one-still-served/" rel="noopener noreferrer"&gt;renewed certificate, old one still served guide&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Keep &lt;a href="https://dnsnotify.com/ssl-certificate-expiry-monitoring/" rel="noopener noreferrer"&gt;certificate expiry monitoring&lt;/a&gt; running between maintenance visits. That is when a failed renewal is easiest to miss.&lt;/p&gt;

&lt;h2&gt;
  
  
  Give domain expiry an owner
&lt;/h2&gt;

&lt;p&gt;Record the published registration expiry and the person responsible for renewal. Add a calendar reminder for planned follow-up, then use &lt;a href="https://dnsnotify.com/domain-expiry-monitoring/" rel="noopener noreferrer"&gt;domain expiry monitoring&lt;/a&gt; for ongoing checking.&lt;/p&gt;

&lt;p&gt;This is especially valuable when the registration sits in an account the agency does not operate. The monitoring account needs to see the public registration data; it does not need the registrar password.&lt;/p&gt;

&lt;h2&gt;
  
  
  Decide what happens after an alert
&lt;/h2&gt;

&lt;p&gt;Keep the response process short:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Compare the changed value with planned work.&lt;/li&gt;
&lt;li&gt;Check the public DNS, certificate or registration result.&lt;/li&gt;
&lt;li&gt;Contact the person who controls the affected service.&lt;/li&gt;
&lt;li&gt;Confirm the repair publicly and accept the intended new baseline.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That turns the monitoring into a usable part of the service. The client gets a clear explanation of what changed and who is dealing with it.&lt;/p&gt;

&lt;p&gt;For agencies that want hosted checking, DNS Notify monitors selected DNS records, nameservers, served certificates and public registration data without DNS-provider credentials. It is &lt;strong&gt;£5 a month for five domains&lt;/strong&gt;, with a &lt;strong&gt;seven-day trial and no card required&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://dnsnotify-links.igor-85e.workers.dev/dev-care-plan" rel="noopener noreferrer"&gt;Try DNS Notify for your client domains&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>freelance</category>
      <category>dns</category>
    </item>
    <item>
      <title>Catch DNS and Certificate Failures Before Your Client Hears the Complaints</title>
      <dc:creator>Mira John</dc:creator>
      <pubDate>Mon, 05 Oct 2026 08:00:00 +0000</pubDate>
      <link>https://dev.to/dnsnotify/catch-dns-and-certificate-failures-before-your-client-hears-the-complaints-5hc5</link>
      <guid>https://dev.to/dnsnotify/catch-dns-and-certificate-failures-before-your-client-hears-the-complaints-5hc5</guid>
      <description>&lt;p&gt;The client's website is managed by a separate web agency. It is excluded from your contract. You do not have the hosting login, the WordPress password or the certificate-renewal job.&lt;/p&gt;

&lt;p&gt;Then one of the client's customers opens the site and sees &lt;strong&gt;Your connection is not private&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;They send the screenshot to your client. Your client calls you.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsog7en3qooe76scg6nje.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsog7en3qooe76scg6nje.png" alt="The client-customer escalation chain that preventative monitoring should reverse" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The web server may be running normally. Exchange may be healthy. The failure can sit entirely in public DNS, the certificate served at the edge, or an expired domain registration.&lt;/p&gt;

&lt;p&gt;None of that helps once a customer has shown your client the warning. The client is embarrassed, the fix becomes urgent and the relationship is suddenly under review.&lt;/p&gt;

&lt;p&gt;You may not own the system, but you can still monitor what the public sees. Responsibility and visibility are separate.&lt;/p&gt;

&lt;h2&gt;
  
  
  Staying out does not mean staying blind
&lt;/h2&gt;

&lt;p&gt;Do not accept operational responsibility for a website you do not host or maintain. Taking ownership of another supplier's WordPress security, plugin updates or deployment process creates risk you cannot control.&lt;/p&gt;

&lt;p&gt;Do monitor the small set of public signals that affect the client's business:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;does the public DNS still return the expected records?&lt;/li&gt;
&lt;li&gt;are the authoritative nameservers consistent?&lt;/li&gt;
&lt;li&gt;is the website serving the expected certificate?&lt;/li&gt;
&lt;li&gt;is that certificate approaching expiry?&lt;/li&gt;
&lt;li&gt;is the domain registration approaching expiry?&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These checks require no access to the website, DNS provider or registrar. They change nothing. They tell you what the client's customers can see from outside.&lt;/p&gt;

&lt;p&gt;When something changes, tell the client and direct the incident to the supplier that owns the repair. You provide the warning without inheriting somebody else's platform.&lt;/p&gt;

&lt;h2&gt;
  
  
  Clients do not think in supplier boundaries
&lt;/h2&gt;

&lt;p&gt;An MSP sees a website supplier, a hosting supplier, a registrar and perhaps a separate marketing agency.&lt;/p&gt;

&lt;p&gt;The client sees one company website and one company email address.&lt;/p&gt;

&lt;p&gt;Their customers see even less. They see an unsafe warning, a dead page or a bounced sales email. They do not care whether the certificate belongs to the web agency or the MX record belongs to the IT provider.&lt;/p&gt;

&lt;p&gt;That is why the order of discovery matters so much:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;The client's customer sees the failure.&lt;/li&gt;
&lt;li&gt;The customer tells the client.&lt;/li&gt;
&lt;li&gt;The client becomes embarrassed and alarmed.&lt;/li&gt;
&lt;li&gt;The client calls whichever supplier they trust to explain it.&lt;/li&gt;
&lt;li&gt;Planned work stops and the incident becomes urgent.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Reverse that order and the same technical fault becomes much easier:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;A quiet outside-in monitor notices a change.&lt;/li&gt;
&lt;li&gt;You check whether the result is real.&lt;/li&gt;
&lt;li&gt;You identify the responsible supplier.&lt;/li&gt;
&lt;li&gt;You contact the client with an explanation and a next step.&lt;/li&gt;
&lt;li&gt;The client's customers may never see the failure.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The email version is worse
&lt;/h2&gt;

&lt;p&gt;A certificate warning is visible immediately. Broken email can stay hidden.&lt;/p&gt;

&lt;p&gt;A potential customer sends a message to the client's sales address. It comes back as unreachable. The sender knows first. Your client hears next. You hear last.&lt;/p&gt;

&lt;p&gt;By then nobody can say how many enquiries failed or how long the problem existed.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fk50cuuu2zyzlhpk9kb6r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fk50cuuu2zyzlhpk9kb6r.png" alt="A customer email bounces before the client or MSP knows there is a problem" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The website may still be online with a green uptime check while the MX route is missing, SPF is broken or a nameserver migration has dropped records. Watching the homepage alone does not cover the public infrastructure behind email.&lt;/p&gt;

&lt;h2&gt;
  
  
  Visibility is not another security service
&lt;/h2&gt;

&lt;p&gt;Do not turn this into another sprawling security product.&lt;/p&gt;

&lt;p&gt;You do not need AI analysis of vaguely similar domains, a speculative risk score or another dashboard full of unrelated modules. Those features create more alerts and more arguments about ownership.&lt;/p&gt;

&lt;p&gt;The useful service is smaller:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;watch the public state the client depends on;&lt;/li&gt;
&lt;li&gt;remain quiet while it is unchanged;&lt;/li&gt;
&lt;li&gt;report the old and new values when it changes;&lt;/li&gt;
&lt;li&gt;let the responsible human decide what the change means.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;You get independent visibility without taking ownership of the repair.&lt;/p&gt;

&lt;h2&gt;
  
  
  A cheap warning for an expensive conversation
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://dnsnotify.com/" rel="noopener noreferrer"&gt;DNS Notify&lt;/a&gt; provides that outside-in layer for DNS changes, served certificates and domain expiry. It does not require DNS-provider credentials and does not modify the systems it watches.&lt;/p&gt;

&lt;p&gt;It costs £5 per month for five domains, or £50 per year. On the annual plan that is about 83p per domain per month.&lt;/p&gt;

&lt;p&gt;For an MSP or agency, the choice is direct: pay less than £1 per domain each month for an early warning, or let the client's customer report the failure and turn a routine fix into a client-retention problem.&lt;/p&gt;

&lt;p&gt;You do not have to own the website to be the first professional who notices.&lt;/p&gt;

</description>
      <category>devops</category>
      <category>webdev</category>
      <category>monitoring</category>
      <category>security</category>
    </item>
    <item>
      <title>Catch an Expired Certificate Before Your Client Hears “Your Website Is Unsafe”</title>
      <dc:creator>Mira John</dc:creator>
      <pubDate>Wed, 30 Sep 2026 08:00:00 +0000</pubDate>
      <link>https://dev.to/dnsnotify/ssl-certificate-expiry-monitoring-when-certificates-only-last-47-days-o63</link>
      <guid>https://dev.to/dnsnotify/ssl-certificate-expiry-monitoring-when-certificates-only-last-47-days-o63</guid>
      <description>&lt;p&gt;A customer opens your client's website and Chrome shows the warning everyone recognises: &lt;strong&gt;Your connection is not private.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;They take a screenshot and send it to your client. Your client sends it to you. A certificate renewal that should have been routine is now public, embarrassing and urgent.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsog7en3qooe76scg6nje.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsog7en3qooe76scg6nje.png" alt="The certificate warning a client's customer should never be the first to report" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Check the certificate customers actually receive from outside the network, alongside the renewal job and deployment hook.&lt;/p&gt;

&lt;p&gt;Publicly trusted TLS server certificates issued from 15 March 2026 have a maximum lifetime of 200 days. The cap drops to 100 days on 15 March 2027 and to 47 days on 15 March 2029. The last of the old 398-day certificates run out in April 2027, and after that everybody is on the short schedule whether they planned for it or not.&lt;/p&gt;

&lt;p&gt;The CA/Browser Forum approved this schedule in April 2025 in &lt;a href="https://cabforum.org/2025/04/11/ballot-sc081v3-introduce-schedule-of-reducing-validity-and-data-reuse-periods/" rel="noopener noreferrer"&gt;ballot SC081v3&lt;/a&gt;. Shorter lifetimes reduce how long a stolen or mis-issued certificate remains valid.&lt;/p&gt;

&lt;p&gt;With shorter lifetimes, reliable automatic renewal and deployment matter even more. A successful renewal job is only part of the check: visitors must receive the replacement certificate.&lt;/p&gt;

&lt;h2&gt;
  
  
  Five ways automated renewal fails quietly
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The job stopped running.&lt;/strong&gt; The server was rebuilt and the cron entry or systemd timer wasn't carried over. The container image was rebuilt without the ACME client. Nothing logs an error, because nothing runs.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The certificate renewed and the server never reloaded.&lt;/strong&gt; The ACME client wrote new files and exited. nginx, HAProxy or Postfix are still serving the old certificate from memory and will keep doing so until somebody restarts them. The renewal log says success. There is a longer write-up of this one, with the other places an old certificate hides, in &lt;a href="https://dnsnotify.com/guides/renewed-certificate-old-one-still-served/" rel="noopener noreferrer"&gt;renewed the certificate, old one still served&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;It renewed on the wrong machine.&lt;/strong&gt; You renewed on the origin. Visitors talk to a load balancer, a CDN, or the second box in the pool, and each of those has its own copy.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The challenge started failing.&lt;/strong&gt; A firewall rule now blocks port 80. The DNS API token used for DNS-01 was rotated. Someone added a CAA record that doesn't include your CA. More frequent renewals make a broken validation path more urgent.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The validation expired.&lt;/strong&gt; The same ballot shortens how long a CA may reuse a domain validation, down to 10 days by 2029. Setups that leaned on a long-lived validation will have to prove control again at nearly every renewal.&lt;/p&gt;

&lt;p&gt;These failures affect different stages of renewal and deployment. Reading the certificate served to visitors confirms which certificate is active on that endpoint.&lt;/p&gt;

&lt;h2&gt;
  
  
  Check the certificate visitors receive
&lt;/h2&gt;

&lt;p&gt;Connect the way a browser does and read what comes back:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;echo&lt;/span&gt; &lt;span class="o"&gt;|&lt;/span&gt; openssl s_client -connect www.example.com:443 -servername www.example.com 2&lt;span class="o"&gt;&amp;gt;&lt;/span&gt;/dev/null \
  &lt;span class="o"&gt;|&lt;/span&gt; openssl x509 -noout -issuer -serial -enddate
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Keep the &lt;code&gt;-servername&lt;/code&gt;. Without SNI, a server that hosts several sites hands you its default certificate, which may not be the one you think you're checking.&lt;/p&gt;

&lt;p&gt;Run that on a schedule, from a machine that is not the one doing the renewing, for every hostname that answers on 443. &lt;code&gt;example.com&lt;/code&gt; and &lt;code&gt;www.example.com&lt;/code&gt; can serve different certificates. So can &lt;code&gt;api.&lt;/code&gt;, &lt;code&gt;mail.&lt;/code&gt; and whatever sits behind your CDN. If a disk fills up on the box that renews, you don't want the warning to live on the same disk.&lt;/p&gt;

&lt;p&gt;If you want to spot-check a hostname without a terminal, this &lt;a href="https://dnsnotify.com/ssl-certificate-checker/" rel="noopener noreferrer"&gt;SSL certificate checker&lt;/a&gt; makes the same connection and shows the expiry, days left, issuer, serial and fingerprint.&lt;/p&gt;

&lt;h2&gt;
  
  
  How early to warn
&lt;/h2&gt;

&lt;p&gt;A fixed 30-day warning can trigger before a healthy short-lived certificate reaches its scheduled renewal. Set the threshold against your actual renewal window.&lt;/p&gt;

&lt;p&gt;Work backwards from the renewal point instead. If your client renews with a third of the lifetime left, a healthy 47-day certificate never drops below about 15 days remaining. A first warning at 14 days then means "renewal should have happened by now and didn't". After that you want reminders that get harder to ignore, and a final one that means a person has to act today. I settled on 14, 7, 3 and 1.&lt;/p&gt;

&lt;p&gt;Two more rules kept the noise down for me, the same way they did for DNS records in &lt;a href="https://dev.to/dnsnotify/dns-change-monitoring-the-seven-false-alarms-i-had-to-kill-hh3"&gt;the seven false alarms post&lt;/a&gt;. A new serial with a later expiry is a renewal, so it goes on a timeline and nobody gets an email. A new serial with an &lt;em&gt;earlier&lt;/em&gt; expiry does get an email, because that usually means someone installed the wrong file.&lt;/p&gt;

&lt;h2&gt;
  
  
  Follow the failure to the repair
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://ssl-monitoring.pages.dev/guides/renewed-certificate-old-one-still-served/" rel="noopener noreferrer"&gt;Renewed certificate, old one still served&lt;/a&gt;: compare the live certificate with the renewed file and check every TLS termination point.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://ssl-monitoring.pages.dev/guides/ssl-errors-after-dns-change/" rel="noopener noreferrer"&gt;SSL errors after a DNS change&lt;/a&gt;: compare A and AAAA destinations, then verify the certificate on each endpoint.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://ssl-monitoring.pages.dev/tools/ssl-diagnostics/" rel="noopener noreferrer"&gt;SSL diagnostics commands&lt;/a&gt;: choose Windows PowerShell, macOS or Linux commands for the hostname you are investigating.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Where this fits
&lt;/h2&gt;

&lt;p&gt;Certificate expiry is one of four things I watch per domain in &lt;a href="https://dnsnotify.com/" rel="noopener noreferrer"&gt;DNS Notify&lt;/a&gt;, next to DNS records, nameservers and the registration. Its &lt;a href="https://dnsnotify.com/ssl-certificate-expiry-monitoring/" rel="noopener noreferrer"&gt;SSL certificate expiry monitoring&lt;/a&gt; reads the certificate served on port 443 and tracks the dates, issuer, key and fingerprint. Ongoing checks make a missed renewal visible before the expiry date.&lt;/p&gt;

&lt;p&gt;Certificates also fail for DNS reasons. A CAA record that blocks your CA and a broken &lt;code&gt;_acme-challenge&lt;/code&gt; CNAME are both DNS changes, which is part of why the two live in one product. I covered the email equivalent of this, records that break without anyone noticing, in &lt;a href="https://dev.to/dnsnotify/email-dns-monitoring-the-four-records-that-break-mail-while-your-site-stays-up-ckl"&gt;the four records that break mail while your site stays up&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;If you do one thing this quarter, list every hostname you serve over HTTPS and check that each one is renewed by a machine, reloaded by a hook, and read from outside by something that will tell you when the first two stop working.&lt;/p&gt;

</description>
      <category>security</category>
      <category>devops</category>
      <category>ssl</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Catch Broken Email DNS Before Your Client Hears “Your Messages Are Bouncing”</title>
      <dc:creator>Mira John</dc:creator>
      <pubDate>Fri, 25 Sep 2026 08:00:00 +0000</pubDate>
      <link>https://dev.to/dnsnotify/email-dns-monitoring-the-four-records-that-break-mail-while-your-site-stays-up-ckl</link>
      <guid>https://dev.to/dnsnotify/email-dns-monitoring-the-four-records-that-break-mail-while-your-site-stays-up-ckl</guid>
      <description>&lt;p&gt;A potential customer emails your client's sales address. Seconds later the message comes back: &lt;strong&gt;address not found&lt;/strong&gt;, &lt;strong&gt;mailbox unavailable&lt;/strong&gt;, or &lt;strong&gt;domain could not be reached&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;That customer sees the failure first. They tell your client. Your client calls you. By then nobody knows how many enquiries were lost, and a small DNS problem has become an embarrassing business problem.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fk50cuuu2zyzlhpk9kb6r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fk50cuuu2zyzlhpk9kb6r.png" alt="A customer email bouncing before the client or MSP knows there is a problem" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Exchange can be healthy. The mail server can be running. Every internal dashboard can be green. If the public MX, SPF, DKIM or DMARC records are missing or wrong, customers still see the failure.&lt;/p&gt;

&lt;p&gt;A homepage uptime check will never catch it. Web and email share a domain name and almost nothing else. The website depends on an A, AAAA or CNAME record. Email depends on four different DNS records that an ordinary website check never reads.&lt;/p&gt;

&lt;p&gt;Staying out of a client's mail platform does not mean staying blind. An MSP, agency or developer can watch these four public records from the outside and warn the client before the client's customers become the monitoring system.&lt;/p&gt;

&lt;p&gt;Here are the four, how each one usually gets broken, and how to check it from a terminal.&lt;/p&gt;

&lt;h2&gt;
  
  
  MX: where your mail is delivered
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;dig example.com MX +short
10 mail1.example.net.
20 mail2.example.net.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;MX records tell every other mail server where to deliver mail for your domain. They break during migrations. Someone moves the domain to a new DNS provider and the zone import drops a record, or keeps an MX for a mailbox provider you left two years ago. They also break when a domain changes hands inside a company and the new owner rebuilds the zone from memory.&lt;/p&gt;

&lt;p&gt;A wrong MX can delay mail, cause an immediate rejection, or deliver it to a server that should no longer handle the domain.&lt;/p&gt;

&lt;p&gt;MX record monitoring is the easiest kind to justify, because the record almost never changes and when it does the meaning is obvious. If you want to see what a domain publishes right now, this &lt;a href="https://dnsnotify.com/mx-lookup/" rel="noopener noreferrer"&gt;MX lookup&lt;/a&gt; asks the domain's own nameservers instead of a cache.&lt;/p&gt;

&lt;h2&gt;
  
  
  SPF: who may send as you
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;dig example.com TXT +short &lt;span class="o"&gt;|&lt;/span&gt; grep spf1
&lt;span class="s2"&gt;"v=spf1 include:_spf.google.com include:sendgrid.net -all"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;SPF is a TXT record at the apex of the domain, which is its weakness. The apex collects TXT records from every service that ever asked you to verify ownership. A year later somebody cleans up the junk, and the SPF line looks like junk too.&lt;/p&gt;

&lt;p&gt;The other common break is a second SPF record. A new tool's setup guide says to add &lt;code&gt;v=spf1 include:newtool.com ~all&lt;/code&gt;, and someone adds it as a new record instead of merging it into the existing one. Publishing two SPF records produces &lt;code&gt;permerror&lt;/code&gt;; receivers cannot obtain a valid SPF pass from that policy.&lt;/p&gt;

&lt;p&gt;Either way your mail still sends. It just starts failing authentication at the other end, and you hear about it from a customer weeks later.&lt;/p&gt;

&lt;h2&gt;
  
  
  DKIM: the key that signs your mail
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;dig selector1._domainkey.example.com TXT +short
dig selector1._domainkey.example.com CNAME +short
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;DKIM public keys live under selector names that mean nothing to a person reading the zone. &lt;code&gt;s1._domainkey&lt;/code&gt;, &lt;code&gt;k2._domainkey&lt;/code&gt;, &lt;code&gt;mte1._domainkey&lt;/code&gt;. They look like leftovers, and they get deleted as leftovers. Your provider keeps signing with the private key, receivers can no longer find the public one, and signatures using that selector fail verification.&lt;/p&gt;

&lt;p&gt;You need the selector name to query it, and most people don't remember theirs. Send yourself an email and look for &lt;code&gt;s=&lt;/code&gt; in the &lt;code&gt;DKIM-Signature&lt;/code&gt; header, or run a &lt;a href="https://dnsnotify.com/dns-scanner/" rel="noopener noreferrer"&gt;DNS record scanner&lt;/a&gt; that tries the common selector names against your domain.&lt;/p&gt;

&lt;h2&gt;
  
  
  DMARC: what receivers do when the checks fail
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;dig _dmarc.example.com TXT +short
&lt;span class="s2"&gt;"v=DMARC1; p=reject; rua=mailto:dmarc@example.com"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;DMARC passes when SPF or DKIM passes with a domain aligned to the visible From address. Its policy tells receivers how to handle mail that fails that test. The usual accident here is a debugging session. Deliverability is bad, someone sets &lt;code&gt;p=none&lt;/code&gt; to rule DMARC out, the real cause turns out to be something else, and the policy never goes back to &lt;code&gt;reject&lt;/code&gt;. The published policy now asks receivers to take no DMARC-specific action on failed authentication. A policy-change alert makes that temporary setting visible.&lt;/p&gt;

&lt;p&gt;The other one to watch is the &lt;code&gt;rua&lt;/code&gt; address. If it changes to an address you don't recognise, your aggregate reports, which show sending IPs observed by reporting receivers, are going to someone else.&lt;/p&gt;

&lt;h2&gt;
  
  
  Check and repair the provider records
&lt;/h2&gt;

&lt;p&gt;Run the &lt;a href="https://emaildns.gitlab.io/" rel="noopener noreferrer"&gt;Email DNS checker&lt;/a&gt; to inspect MX, SPF, DKIM and DMARC together. It identifies common mail providers and places the relevant setup guide beside missing records.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://emaildns.gitlab.io/microsoft-365-dns/dkim/" rel="noopener noreferrer"&gt;Microsoft 365 DKIM: our step-by-step guide&lt;/a&gt; covers the selector CNAMEs and signing setting, with links to the Microsoft portal.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://emaildns.gitlab.io/google-workspace-dns/spf/" rel="noopener noreferrer"&gt;Google Workspace SPF: our step-by-step guide&lt;/a&gt; explains how to update the existing policy.&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://emaildns.gitlab.io/guides/dmarc/" rel="noopener noreferrer"&gt;DMARC: our step-by-step guide&lt;/a&gt; shows where to publish the policy and how to recheck it.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What to do about it
&lt;/h2&gt;

&lt;p&gt;All four are plain DNS records, so the dig commands above are most of a monitor already. Run them on a schedule, compare with the values you expect, and send yourself the old and new value when they differ. I went through the ways that comparison produces false alarms in &lt;a href="https://dev.to/dnsnotify/dns-change-monitoring-the-seven-false-alarms-i-had-to-kill-hh3"&gt;an earlier post&lt;/a&gt;. For email records the two that matter are to query the authoritative nameservers, and to join split TXT strings before comparing. SPF and DKIM values are long enough to be split into several strings, and servers don't always split them the same way twice.&lt;/p&gt;

&lt;p&gt;This is also what I built &lt;a href="https://dnsnotify.com/" rel="noopener noreferrer"&gt;DNS Notify&lt;/a&gt; to do. Its &lt;a href="https://dnsnotify.com/email-dns-monitoring/" rel="noopener noreferrer"&gt;email DNS monitoring&lt;/a&gt; watches the MX set, the SPF and DMARC records and whichever DKIM selectors you pick, and the alert is the record name with the accepted value and the current value next to each other. Once the records are correct, &lt;a href="https://dnsnotify.com/mx-record-monitoring/" rel="noopener noreferrer"&gt;monitor MX records with DNS Notify&lt;/a&gt; and keep the authentication records under watch too. The before-and-after alert gives you the changed value to investigate.&lt;/p&gt;

&lt;p&gt;Whichever way you do it, write down the four values today. The hardest part of fixing a broken SPF record is working out what it used to say.&lt;/p&gt;

</description>
      <category>dns</category>
      <category>email</category>
      <category>devops</category>
      <category>security</category>
    </item>
    <item>
      <title>Detect Website and Email Failures Before Someone Tells Your Client</title>
      <dc:creator>Mira John</dc:creator>
      <pubDate>Mon, 21 Sep 2026 06:30:00 +0000</pubDate>
      <link>https://dev.to/dnsnotify/the-worst-way-to-discover-an-outage-your-clients-customer-finds-it-first-3nap</link>
      <guid>https://dev.to/dnsnotify/the-worst-way-to-discover-an-outage-your-clients-customer-finds-it-first-3nap</guid>
      <description>&lt;p&gt;Imagine the message arriving in the middle of an ordinary working day:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;One of our customers just sent us this screenshot. Why does our website say it is unsafe?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The screenshot is the browser warning everybody recognises: &lt;strong&gt;Your connection is not private.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsog7en3qooe76scg6nje.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fsog7en3qooe76scg6nje.png" alt="A Chrome-style certificate warning shown to a client's customer" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The customer saw it first. They told your client. Your client is now forwarding it to you.&lt;/p&gt;

&lt;p&gt;That is the worst possible order.&lt;/p&gt;

&lt;p&gt;The same thing happens with email:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A customer says their message to our sales address bounced back as unreachable. How long has this been happening?&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;The sender sees the failure first: “address not found”, “mailbox unavailable” or “domain could not be reached.”&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fk50cuuu2zyzlhpk9kb6r.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fk50cuuu2zyzlhpk9kb6r.png" alt="A bounced customer email caused by an MX or DNS failure" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Your client did not discover the mail problem from an internal alert. Their customer received a delivery failure and had to find another way to make contact.&lt;/p&gt;

&lt;p&gt;Now the failure is public. Your client is embarrassed in front of their own customer, does not know how much business may have been missed, and immediately wonders what they are paying you to look after.&lt;/p&gt;

&lt;h2&gt;
  
  
  You no longer control the schedule
&lt;/h2&gt;

&lt;p&gt;Five minutes earlier, you had a plan for the day.&lt;/p&gt;

&lt;p&gt;Now you have to stop everything.&lt;/p&gt;

&lt;p&gt;The certificate warning, broken DNS record or missing MX route may be straightforward to fix. That does not make the situation small. Once the client knows, the work becomes urgent regardless of what else you were doing.&lt;/p&gt;

&lt;p&gt;You need to investigate immediately, send updates, coordinate with whichever supplier owns the affected system, and explain why nobody noticed first.&lt;/p&gt;

&lt;p&gt;For an employee, the same escalation may reach a boss before it reaches the technical team. For an agency or MSP, it can put the entire client relationship under review.&lt;/p&gt;

&lt;p&gt;The technical incident may last an hour. The doubt it creates can last much longer.&lt;/p&gt;

&lt;h2&gt;
  
  
  The failure may sit outside your contract
&lt;/h2&gt;

&lt;p&gt;This problem is not limited to infrastructure you directly manage.&lt;/p&gt;

&lt;p&gt;An MSP may not host the client's website. A web agency may not manage the client's mail service. A developer may have no access to the registrar. That does not make early visibility useless.&lt;/p&gt;

&lt;p&gt;If the MSP sees that the public website or served certificate has failed, it can warn the client and direct the incident to the web team. If the web agency sees that an MX record changed or disappeared, it can tell the client to contact IT before customers start reporting bounced messages.&lt;/p&gt;

&lt;p&gt;You do not need to own the repair to provide the early warning.&lt;/p&gt;

&lt;p&gt;That is valuable because clients rarely think in supplier boundaries while something is broken. They see one business, one website and one email address. Whoever notices early looks proactive. Whoever learns from the client's customer looks absent.&lt;/p&gt;

&lt;h2&gt;
  
  
  Quiet monitoring beats another noisy dashboard
&lt;/h2&gt;

&lt;p&gt;More alerts are not the answer.&lt;/p&gt;

&lt;p&gt;The useful contract is simpler:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;watch the public DNS records that matter;&lt;/li&gt;
&lt;li&gt;watch the certificate actually served by the website;&lt;/li&gt;
&lt;li&gt;watch the domain's expiry state;&lt;/li&gt;
&lt;li&gt;stay quiet while the state is unchanged;&lt;/li&gt;
&lt;li&gt;alert when something meaningful changes.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Independent checking observes the public DNS, served certificate and registration data alongside the provider's own dashboard and renewal logs.&lt;/p&gt;

&lt;p&gt;A certificate may renew successfully on disk while the public endpoint continues to serve the old certificate. A DNS control panel may show the intended MX record while an authoritative server returns something else. A domain-renewal notice may be sitting in the inbox of somebody who left the company two years ago.&lt;/p&gt;

&lt;p&gt;The public result is what affects the client.&lt;/p&gt;

&lt;h2&gt;
  
  
  A day earlier is a different kind of incident
&lt;/h2&gt;

&lt;p&gt;Some warnings arrive days or weeks early: certificate expiry, domain expiry, and planned DNS changes that do not look right.&lt;/p&gt;

&lt;p&gt;Other changes need attention as soon as they are visible: an MX record disappearing, nameservers disagreeing, or a critical DNS value changing unexpectedly.&lt;/p&gt;

&lt;p&gt;Either way, an internal alert changes the nature of the work.&lt;/p&gt;

&lt;p&gt;Instead of dropping everything after an embarrassed phone call, you can investigate, identify the responsible supplier, prepare the fix, and contact the client with an answer already in hand.&lt;/p&gt;

&lt;p&gt;Sometimes the client never needs to see the failure at all.&lt;/p&gt;

&lt;p&gt;That is the difference between reactive support and preventative monitoring.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgol3d7y1remfd34vcxa4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgol3d7y1remfd34vcxa4.png" alt="The client discovers it first versus DNS Notify warning the supplier first" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  A deliberately small tool for a costly problem
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://dnsnotify.com/" rel="noopener noreferrer"&gt;DNS Notify&lt;/a&gt; monitors DNS records, nameservers, served SSL certificates and public domain-registration data without DNS-provider credentials. I build the service. It shows the accepted value beside the changed value, giving the agency a concrete starting point for an investigation.&lt;/p&gt;

&lt;p&gt;It costs £5 per month for five domains, or £50 per year. On the annual plan that is about &lt;strong&gt;83p per domain per month&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Put it into the website care plan
&lt;/h2&gt;

&lt;p&gt;Keep a domain inventory with the registrar, DNS provider, web host, email provider and responsible contact. Save the working public values after launch. When a monitored value changes, compare it with planned work and contact the supplier who controls that setting.&lt;/p&gt;

&lt;p&gt;The &lt;a href="https://dev.to/dnsnotify/a-domain-monitoring-checklist-for-website-care-plans-3ph1"&gt;domain monitoring checklist for website care plans&lt;/a&gt; covers the inventory and response process. Before moving a client website, follow the &lt;a href="https://dev.to/dnsnotify/preserve-email-dns-when-moving-a-client-website-307i"&gt;email DNS migration sequence&lt;/a&gt; to preserve the working mail configuration.&lt;/p&gt;

&lt;p&gt;For a certificate problem, the &lt;a href="https://ssl-monitoring.pages.dev/guides/renewed-certificate-old-one-still-served/" rel="noopener noreferrer"&gt;renewed certificate, old one still served guide&lt;/a&gt; walks through the public endpoint checks. For email, the &lt;a href="https://emaildns.gitlab.io/" rel="noopener noreferrer"&gt;Email DNS checker&lt;/a&gt; links missing records to step-by-step provider guides, including &lt;a href="https://emaildns.gitlab.io/microsoft-365-dns/dkim/" rel="noopener noreferrer"&gt;Microsoft 365 DKIM&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Start with the &lt;a href="https://dnsnotify.com/dns-scanner/" rel="noopener noreferrer"&gt;free DNS scanner&lt;/a&gt; and &lt;a href="https://domain-expiry.pages.dev/" rel="noopener noreferrer"&gt;domain expiry checker with calendar reminders&lt;/a&gt;. Then use &lt;a href="https://dnsnotify.com/dns-change-monitoring/" rel="noopener noreferrer"&gt;DNS change monitoring&lt;/a&gt;, &lt;a href="https://dnsnotify.com/email-dns-monitoring/" rel="noopener noreferrer"&gt;email DNS monitoring&lt;/a&gt; and &lt;a href="https://dnsnotify.com/ssl-certificate-expiry-monitoring/" rel="noopener noreferrer"&gt;certificate expiry monitoring&lt;/a&gt; for the domains in the care plan.&lt;/p&gt;

&lt;p&gt;DNS Notify includes a &lt;a href="https://dnsnotify.com/signin" rel="noopener noreferrer"&gt;seven-day trial, with no card required&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>devops</category>
      <category>webdev</category>
      <category>monitoring</category>
      <category>dns</category>
    </item>
    <item>
      <title>DNS change monitoring: the seven false alarms I had to kill</title>
      <dc:creator>Mira John</dc:creator>
      <pubDate>Sat, 19 Sep 2026 14:28:30 +0000</pubDate>
      <link>https://dev.to/dnsnotify/dns-change-monitoring-the-seven-false-alarms-i-had-to-kill-hh3</link>
      <guid>https://dev.to/dnsnotify/dns-change-monitoring-the-seven-false-alarms-i-had-to-kill-hh3</guid>
      <description>&lt;p&gt;A client's customer should never be the first person to tell you that the website is unsafe, email is bouncing, or a DNS change broke something public. By then the failure is already embarrassing, your client is asking what they are paying you for, and a routine fix has become an interruption.&lt;/p&gt;

&lt;p&gt;The catch is that a noisy monitor is almost as bad as no monitor. If it sends false alarms every time answer order changes or a resolver cache catches up, people stop reading it. The useful monitor stays quiet until a meaningful public state changes.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgol3d7y1remfd34vcxa4.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgol3d7y1remfd34vcxa4.png" alt="A quiet alert changes who discovers the problem first" width="800" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The first version of any DNS checker is about ten lines. Look up a record, compare it with the value stored last time, send an email if they differ. Point that at a real domain for a day or two and it will email you about records nobody has touched. The checker behind &lt;a href="https://dnsnotify.com/" rel="noopener noreferrer"&gt;DNS Notify&lt;/a&gt; started there too.&lt;/p&gt;

&lt;p&gt;DNS change monitoring is easy to describe and annoying to get right, because DNS answers vary in ways that mean nothing. Below are the false alarms I had to design out, and what I did about each. If you want to monitor DNS changes with your own script, this should save you a week.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Asking a resolver instead of the source
&lt;/h2&gt;

&lt;p&gt;The obvious way to look up a record is through the system resolver, which is what &lt;code&gt;dig example.com MX&lt;/code&gt; does by default. A recursive resolver answers from cache until the TTL runs out. Public resolvers are also big anycast clusters, so two queries a minute apart can land on machines with different cache contents. After a real change you can see old, new, old, new until the TTL has run out everywhere. To a naive checker each flip is a change.&lt;/p&gt;

&lt;p&gt;The fix is to skip resolvers and ask the domain's own nameservers. With dig:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;dig example.com NS +short
dig @ns1.example-dns.net example.com MX +noall +answer
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And with dnspython, which is what the checker uses:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;dns.resolver&lt;/span&gt;

&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;authoritative_answer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;domain&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;rtype&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;ns_hosts&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nf"&gt;str&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;target&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;dns&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;resolver&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;resolve&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;domain&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;NS&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt;
    &lt;span class="n"&gt;ns_ips&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;a&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;to_text&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;h&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;ns_hosts&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;a&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;dns&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;resolver&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;resolve&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;h&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;A&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt;

    &lt;span class="n"&gt;r&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;dns&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;resolver&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nc"&gt;Resolver&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;configure&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="bp"&gt;False&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;nameservers&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;ns_ips&lt;/span&gt;
    &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;timeout&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;lifetime&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;10&lt;/span&gt;

    &lt;span class="n"&gt;ans&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;r&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;resolve&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;rtype&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;raise_on_no_answer&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="bp"&gt;False&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nf"&gt;sorted&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;rd&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;to_text&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;rd&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;ans&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rrset&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;ans&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;rrset&lt;/span&gt; &lt;span class="k"&gt;else&lt;/span&gt; &lt;span class="p"&gt;[]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you only want to eyeball one record this way, I put the same logic behind a free &lt;a href="https://dnsnotify.com/dns-lookup/" rel="noopener noreferrer"&gt;authoritative DNS lookup&lt;/a&gt; so you don't need a terminal.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Answer order
&lt;/h2&gt;

&lt;p&gt;Many nameservers rotate multi-value answers on purpose. Two A records come back as &lt;code&gt;.10, .20&lt;/code&gt; and then as &lt;code&gt;.20, .10&lt;/code&gt;. A string comparison calls that a change. Sort the values before comparing. That is what the &lt;code&gt;sorted()&lt;/code&gt; in the snippet above is for.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. TTLs
&lt;/h2&gt;

&lt;p&gt;Store the full answer line, TTL included, and you are in trouble twice. From a resolver the TTL counts down, so every check differs from the last. From an authoritative server the TTL is stable, but people lower it before a migration and raise it afterwards, and that is not something anyone wants an email about. I keep the TTL for display and leave it out of the comparison.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. The SOA serial
&lt;/h2&gt;

&lt;p&gt;The SOA record carries a serial number that goes up whenever anything in the zone is edited. Some providers bump it on their own schedule too. Include the SOA in naive DNS record monitoring and you get an alert for every edit to every record, including the ones you already alert on. I mask the serial before comparing. If the serial is the only difference, the new SOA is accepted quietly. Changes to the primary nameserver or the timers still come through, and those are the ones that tell you something.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Timeouts that look like deletions
&lt;/h2&gt;

&lt;p&gt;A query that times out returns nothing. A record that was deleted also returns nothing. Treat them the same and every network blip becomes "your MX record was removed", which is a horrible email to get at 3am when it is not true.&lt;/p&gt;

&lt;p&gt;These need to be separate code paths. NXDOMAIN and an empty answer are real answers from the server. A timeout or SERVFAIL is a failed check and says nothing about the record. I count failures per record and only alert after four failed runs in a row. When the record comes back, the recovery goes on the timeline without a second email.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Formatting noise
&lt;/h2&gt;

&lt;p&gt;&lt;code&gt;Mail.Example.NET.&lt;/code&gt; and &lt;code&gt;mail.example.net&lt;/code&gt; are the same host. A long TXT record is sent as several quoted 255-byte strings, and where the splits fall is up to the server. Pick one canonical form and stick to it. The checker strips trailing dots, rebuilds MX and SRV answers field by field, and joins TXT strings into one value before comparing. SPF and DKIM records are where this bites, because they are the long ones.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Changes that undo themselves
&lt;/h2&gt;

&lt;p&gt;Someone fat-fingers a record, notices, and fixes it two minutes later. The first alert is fair. A second alert saying it changed again, back to what you expected, is noise. I keep two values per record, the accepted one and the current one. When current goes back to accepted, the pending flag clears and a "reverted" event is logged with no email.&lt;/p&gt;

&lt;p&gt;The same two-value model handles planned changes. After a migration you accept the new value and it becomes the baseline. Without that step the monitor nags forever about a change you made on purpose. I wrote the whole loop up as a guide, &lt;a href="https://dnsnotify.com/guides/how-to-monitor-dns-changes/" rel="noopener noreferrer"&gt;how to monitor DNS changes&lt;/a&gt;, with the dig commands for each step.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I could not fix
&lt;/h2&gt;

&lt;p&gt;Some records are supposed to differ depending on who asks. Latency-based routing, geo DNS and most CDNs return different A records from different places, and sometimes from the same place. No amount of normalising makes that a stable signal. I leave those records off the watch list and monitor the CNAME that points at the CDN instead. That one should never move without someone knowing.&lt;/p&gt;

&lt;h2&gt;
  
  
  What was left
&lt;/h2&gt;

&lt;p&gt;After all of that, the checker got boring, which was the goal. DNS change alerts are only worth having if people still open them in month six. It emails when a value at the source differs from the value someone accepted, and shows both. It waits before reporting failures. It logs reverts and recoveries without emailing them.&lt;/p&gt;

&lt;p&gt;This is how &lt;a href="https://dnsnotify.com/dns-change-monitoring/" rel="noopener noreferrer"&gt;DNS change monitoring&lt;/a&gt; works in DNS Notify today. The full rules, including how certificates and registration data are compared, are on the &lt;a href="https://dnsnotify.com/methodology/" rel="noopener noreferrer"&gt;methodology page&lt;/a&gt;. If you have run into a false alarm I have not listed, tell me in the comments. I would like to break the checker before a customer does.&lt;/p&gt;

</description>
      <category>dns</category>
      <category>devops</category>
      <category>monitoring</category>
      <category>python</category>
    </item>
  </channel>
</rss>
