My DNS account may have been breached. What do I check?

Whoever controls your DNS decides where your email is delivered, who may send as you and who can get a certificate for your website. If your DNS provider reports a breach, or you find a change you didn't make, go through these steps in order.

Get back in safely

  • Type the provider's address yourself rather than following a link. Scammers send fake reset emails during a real incident
  • Set a new password and turn on two-step sign-⁠in
  • Check that the account's contact email still belongs to you, and remove any user you don't recognize
  • Replace every API key, the passwords tools use to change your records, and note each tool that used one

Compare every record with a copy you trust

Export each domain's records and compare them with your last backup, or with what each provider told you to add. These matter most:

  • MX, where your email is delivered. A changed MX record sends your email, and every password reset link in it, to someone else
  • NS, which company answers for your domain. A change here hands over every record at once
  • TXT, which holds SPF and verification codes. A new SPF entry lets another service send as you, and a new verification code can prove your domain to a stranger's account
  • A and CNAME, where your website and each subdomain point
  • CAA, which names the companies allowed to issue certificates for your domain

The free check on this page reads your SPF, DKIM and DMARC records and names your email provider and DNS host, so a change to any of them stands out.

Look for certificates you didn't ask for

Anyone who can add a record can prove they control your domain and get a certificate for it. Every public certificate is listed in certificate transparency logs, which you can search at crt.sh. Look for any issued since the breach that you don't recognize.

The free security check reads the same logs, lists every subdomain they name, and tells you whether a CAA record limits who may issue one.

Run the security check

Fix what the new keys break

Tools that renew certificates by adding a DNS record, such as certbot, cert-manager and Caddy, keep using the old key until you change it. They fail without a sound, and you find out weeks later when a certificate expires. Give each one the new key, then renew a certificate by hand to prove it works.

Do the same for dynamic DNS scripts, backups and anything else that writes records.

Keep checking for three months

Note when each certificate expires, so a renewal that failed shows up before a customer sees a warning. The SSL certificate checker gives the date.

Daily monitoring, which opens soon, will tell you the day a domain's mail servers, nameservers or website address change.

SSL certificate checker

Check your own domain

Free, a few seconds, and no sign-⁠up.

Questions people ask

What should I check first after a DNS breach?

Your MX records, because they decide where your email goes. Then your nameservers and your SPF record. A change to any of them can hand your email, or the right to send as you, to someone else.

Why did my certificates stop renewing after I replaced my DNS keys?

Tools that prove you control your domain by adding a DNS record sign in with an API key. Once the old key is replaced they can't add the record, so renewals fail until each tool has the new one.

What is a CAA record?

A DNS record that names the companies allowed to issue certificates for your domain. Any other must refuse, which limits what someone who changes your DNS for a short time can get.

Sources