SOA lookup

Short answer

What is an SOA record?

The SOA record (Start of Authority) is the first record in a DNS zone and tells which name server is primary, who is responsible and when the zone was last changed. It also has the timers refresh, retry, expire and minimum, which control secondary name servers and how long “does not exist” is cached. Every domain has exactly one.

Enter the domain.

The fields

  • The serial is increased with every change.
  • refresh, retry and expire control secondary name servers.
  • minimum is how long “does not exist” is remembered.

Example

An SOA record can look like this: ns1.provider.com. hostmaster.company.com. 2026111001 3600 900 1209600 3600. The first name is the primary server. The second is the email address of the person responsible, where the first dot means @, that is hostmaster@company.com.

Then follow the serial and the four timers in seconds: refresh one hour, retry fifteen minutes, expire two weeks and minimum one hour.

Recommended values

  • refresh: between 20 minutes and 12 hours (RFC 1912).
  • retry: shorter than refresh.
  • expire: two to four weeks, so the secondaries do not stop answering too early.
  • minimum: one to three hours (RFC 2308). If it is long, a missing record is remembered long after you added it.

Questions and answers

Why is the serial so large?

Many providers use a date (YYYYMMDDnn) or a timestamp.

Can I change the SOA record myself?

It depends on the DNS provider. At most, like Cloudflare and Domeneshop, SOA is managed automatically, and the serial is increased when you save a change.

Why does the minimum value matter for email?

If a receiver asks for the DMARC record before you added it, it remembers the answer “does not exist” for as long as minimum or the TTL of the SOA record says. The lower of the two applies.

Must the serial be the same on all name servers?

Yes, when everything is synchronised. Different numbers mean some servers have an older version of the zone. The NS delegation checker shows this.

What does expire mean if the primary server is down?

The secondary servers keep answering with the copy they have, for as long as expire says. If the primary is down longer than that, they stop answering and the domain disappears from DNS.