Skip to content

Cookie settings

Choose which kinds of cookies you allow. You can change your choice at any time via Cookie settings at the bottom of every page. Privacy statement

Necessary

Always on

Needed to log in, keep your cart and remember your choices. These are always on.

Which cookies?
  • weboke_sessie, weboke_klant, weboke_remember: your session and staying logged in
  • weboke_basket: your cart
  • wkBtwIncl: showing prices with or without VAT
  • wok_cookies: your cookie choice, 12 months

Measures which ad leads to a visit or order, so we do not pay for ads that do nothing.

Which cookies?
  • Google Ads via Google Tag Manager (_gcl_au, _gcl_aw), up to 90 days
  • OpenAI Ads, ads in ChatGPT
  • wok_aff: which partner referred you to us (affiliate programme), 60 days

4.6

Country and language

Each country has its own site, with prices and VAT for that country.

View

Checklist for your own domain

Module 8: Security and troubleshooting · Reading time: 10 minutes

Learning objective: After this lesson, you'll be able to check your own domain from top to bottom with a fixed checklist, and know which point to start at when the website or mail isn't working.

Key terms: registration, nameservers, A/AAAA, www, certificate, MX, SPF, DKIM, DMARC, CAA, DNSSEC, TTL, backup

Why top to bottom?

DNS is a chain: without registration there are no nameservers, without working nameservers there are no records, without an A record there's no website. A fault at the top causes all kinds of complaints lower down. That's why you always work through the list in this order and stop at the first point that isn't right. Fix that first, then start again from the top.

The list uses example.com: replace it with your own domain. Each point includes a dig command; an online dig tool (lesson 8.3) works too. A domain health check, such as the one from your hosting provider or the free Domain health tool, covers a large part of this list in one go, but it's useful to know what's behind it.

Part A: the foundation

1. Is the domain registered and active?

  • How: a whois or RDAP lookup (for example via the registry's website, such as sidn.nl for .nl), or whois example.com.
  • Good: status active (for .nl: "active"), not "in quarantine", not expired. The registrant is correct.

2. Which nameservers does the domain have, and are there at least two?

  • How: dig +short NS example.com, and for what the registry passes on, dig +trace example.com.
  • Good: at least two nameservers, from the provider where you manage your DNS.

3. Do all nameservers respond, and do they give the same answer?

  • How: dig +short SOA example.com @<nameserver> for each nameserver.
  • Good: every nameserver responds (no timeout, no REFUSED) and the serial number (third field of the SOA) is the same everywhere. A nameserver that doesn't respond for your domain is called lame.

4. Is DNSSEC correct (if it's turned on)?

  • How: dig +short DS example.com and dig example.com A @1.1.1.1 (check the status and the ad flag); if in doubt, use DNSViz.
  • Good: either no DS (DNSSEC off, which works fine), or a DS with status NOERROR and the ad flag. Wrong: SERVFAIL.

Part B: the website

5. Does the domain name point to the right server?

  • How: dig +short A example.com and dig +short AAAA example.com.
  • Good: the IPv4 address (and, if you have one, the IPv6 address) of the server where your website is hosted. No old AAAA record from a previous server.

6. Does www work?

  • How: dig +short A www.example.com (or CNAME).
  • Good: an A record, AAAA record or CNAME that leads to the same site. If www is missing, people who type www will get an error message.

7. Does the site have a valid certificate for both names?

  • How: open https://example.com and https://www.example.com and click the padlock, or use the website test at internet.nl.
  • Good: no warning, the certificate is valid for at least a few more weeks and covers both names.

8. Is your certificate issuer allowed to issue certificates (CAA)?

  • How: dig +short CAA example.com.
  • Good: no CAA record (anyone is allowed), or a CAA record with issue for the provider that issues your certificate. Wrong: a CAA record that doesn't mention your issuer.

Part C: email

9. Where does your mail arrive?

  • How: dig +short MX example.com, then dig +short A <mailserver> for the first name.
  • Good: the MX records of your current mail provider, and no leftover MX from an old provider. Every mail server name has an A or AAAA record. If you don't use the domain for mail, a null MX (0 .) can make it clear that no mail is received.

10. Is there exactly one correct SPF record?

  • How: dig +short TXT example.com and look at the lines starting with v=spf1; an email check counts the lookups.
  • Good: exactly one SPF record, with all services that send mail on behalf of your domain, ending in ~all or -all (never +all), and no more than ten DNS lookups.

11. Is DKIM set up for every service that sends mail?

  • How: dig +short TXT <selector>._domainkey.example.com (or CNAME) for every selector you know, such as the one from your mail provider and your newsletter service. You'll find the selector in the service's instructions or in the header DKIM-Signature: ... s=<selector> of a sent email.
  • Good: each record gives a key (v=DKIM1; ... p=...) or a CNAME to the service, and a test email shows DKIM PASS.

12. Is there a DMARC record?

  • How: dig +short TXT _dmarc.example.com.
  • Good: exactly one record starting with v=DMARC1 with a valid policy (p=none, p=quarantine or p=reject). Started with p=none? Then plan to tighten it.

13. Does a real email arrive correctly?

  • How: send an email to mail-tester.com or to a Gmail address and view "Show original".
  • Good: SPF, DKIM and DMARC all show PASS.

Part D: maintenance

14. Are the TTLs sensible?

  • How: dig example.com A @<your nameserver> and check the TTL.
  • Good: normally 3600 to 86400 (one hour to one day). Only temporarily 300 around a planned change. Forgetting to set it back after a migration isn't a disaster, but it does cause unnecessary extra traffic.

15. Do you have a backup of your zone?

  • How: the backup or export button in your DNS panel, or dig per record if you don't have one.
  • Good: a recent copy of all records, stored outside the panel.

16. Are there no forgotten records?

  • How: go through all records in your panel.
  • Good: no verification records or subdomains for services you no longer use. A CNAME pointing to a cancelled service can be "taken over" by someone else (subdomain takeover): remove it.

Where do you start with a complaint?

ComplaintStart atThen
"The website isn't working"1, 2, 45, 6, 7
"I still see the old website"5 (with @<nameserver> and @1.1.1.1)your own cache (lesson 8.2)
"I'm not receiving mail"1, 2, 49
"My mail ends up in spam"10, 11, 1213
"A service can't verify my domain"2 (am I editing it in the right place?)the requested record, with the name as in lesson 8.4 mistake 2
"No certificate"58, and the proxy setting (lesson 8.4 mistake 9)

In practice: what it looks like in a panel

A domain health check automatically covers a large part of this list. In My WebOké, this is shown on the domain page as a card called Domain / Email health, with green, orange and red per point; the public version works for any domain. Other hosting providers, registrars and DNS providers have similar checks, and internet.nl independently tests a large part of parts B and C. Use such a check as a starting point, and this list to understand what's showing red.

Summary

  • Work through the list from top to bottom and stop at the first point that isn't right.
  • Foundation: registration, nameservers, matching answers, DNSSEC.
  • Website: A/AAAA, www, certificate, CAA.
  • Mail: MX with address, one SPF, DKIM per service, one DMARC, test email.
  • Maintenance: TTL, backup, clean-up.

Quiz

1. A customer reports that both the website and the mail for their domain have stopped working since this morning. Where do you start?



2. Two nameservers for your domain give a different SOA serial number. What does that mean?



3. dig +short CAA example.com returns nothing. Is that a problem?



4. Why does "clean up forgotten records" appear on the checklist?



Exercise

Exercise Z8.5: Final exercise: your own domain. Check your own domain using this checklist. Enter your domain name in the course environment and answer, for each point in parts A, B and C, what you found (for example your nameservers, your MX, your SPF record and your DMARC policy). The program runs the same checks and compares the results. If something isn't right with your domain, you'll get an explanation with a reference to the relevant lesson. If you don't have your own domain, use sidn.nl.

Exercise Z8.5: Final exercise: your own domain








We don't store what you enter or what we find live. Your browser remembers your answers and whether you've passed the exercise. If you're signed in, we only save that you got the exercise (almost) right in My courses; you can also delete that there.

Further reading

These articles describe the checks at WebOké; the checklist works for any domain.

One moment…

Set up your domains

For each domain, arrange the nameservers, the link to your hosting and who becomes the owner.

Loading your domains…