What is an SOA Record?

An SOA record means Start of Authority. The record holds specific authoritative information about the global parameters of a DNS zone. 

This includes information on the primary name server, the domain’s serial number, the domain administrator’s email, and several timers for refreshing the zone.

Therefore, an SOA resource record shows what DNS server hosts the most accurate information for a specified domain. It also changes anytime the DNS settings change.

How do SOA Records Work?

The SOA records are the basis of the DNS zone files. The DNS structure is a decentralized, hierarchical system, with the SOA resource records at the top and the slave or secondary servers at the bottom. 

While there are many name servers, they do not supply information to random servers but name servers in an allocated zone.

For this reason, DNS servers handle zone files which are text files that contain a zone’s DNS records. Each zone file must have an SOA record to determine the various authoritative servers for that domain. 

This process makes it the Start of Authority by providing information on whether or not a server is authoritative enough to handle a query.

The SOA’s mode of operation makes it essential to the DNS system. Rather than one server bearing the brunt of all queries, they’re spread among many servers. A zone transfer must be done regularly to keep the zone files updated on all servers.

To do this, the servers at the lowest hierarchy sync their data with the primary servers at the top of the DNS system. The SOA record governs how the zone transition takes place.

The SOA Record Structure

The SOA record has several fields containing relevant information that helps it function. 

We’ll take a look at them shortly.

MName

This is the domain name of the primary (master) name server for a specific zone.

RName

This field contains the email address of the domain administrator. When formatting the email address, you must exclude the @ symbol and replace it with a period (.). The period separates the username from the domain. 

In cases where you have a period before the @ symbol in the main address, you must replace it with a backslash (\).

When you’ve effected the changes, this email — sample@scalahosting.com becomes this — sample.scalahosting.com. And, blog.sample@scalahosting.com becomes, blog\.sample.scalahosting.com.

In essence, the email address is written in DNS format, not email format.

Serial Number

This is the serial number to a specific zone. It is a timestamp that changes each time you update your zone files.

When a secondary name server observes an increase in the number, it initiates zone transfers using that value to update its copy of the zone.

Anytime you change the zone files, you must overwrite the serial number using any of the following methods.

Increment it by one integer – If your current SOA serial number is 105, change it to 106 when you make a change to the file data. 

If you don’t alter the values, the domain’s secondary name servers won’t update their copy of the database, causing both primary (master) and secondary (slave) servers to be out of sync.

Use the date format – The acceptable date format is YYYYMMDDVV

Where each of them means : 

  • Y = Year
  • M = Month
  • D = Date
  • V = Version number

This format is easy to manage, and you can identify the date you made the change on the serial number. When you make changes on the same day, you increase the version number by one integer. On a new day, the version number resets to 00.

Refresh Rate

The refresh rate specifies the time lag (in seconds) when a secondary server queries for an updated copy of the zone file. A typical value is 86400.

If the query goes unanswered, the Retry field regulates the next refresh attempt.

Retry Rate

This signifies how long the secondary server should wait before requesting a zone transfer again. This rate is significantly lower than the last refresh rate value. A typical value is 7200

Expire Time

The expire time specifies the upper time limit (in seconds) of how long a secondary server should hold on to a zone file data before discarding. 

This happens when the secondary server doesn’t receive any feedback from the primary servers. The Expire value determines how long to use that zone file before the server considers it as non-authoritative.

Minimum (default) TTL

This field specifies the minimum time to live (TTL) value for all resource records in the zone file. The TTL informs other servers on the duration to keep data in the cache before discarding it. 

The default value is 3600 seconds.

How to Check an SOA Record

You can check your website’s SOA record in multiple ways. The most popular method is through a web service like Google Public DNS.

With the web service lookup tools, the process is straightforward. You’ll simply enter the website name on the tool page to receive a result.

Usually, you’ll get results only on A Records, but if you edit the appropriate field and select SOA, you should get the correct information.

Other tools you can use are Whatsmydns.net, MxToolbox, and DNS Checker.

Was this helpful?

What’s your goal today?

1. Find the right Web hosting solution

If you’re looking for industry-leading speed, ease of use and reliability Try ScalaHosting with an unconditional money-back guarantee.

2. Make your website lighting fast

We guarantee to make your WordPress site load in less than 2 seconds on a managed VPS with ScalaHosting or give your money back. Fill out the form, and we’ll be in touch.

Please enter a valid name
Please enter a valid website
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

3. Streamline your clients’ hosting experience

If you’re a web studio or development agency hosting more than 30 websites, schedule a call with Vlad, our co-founder and CTO, and see how we can deliver unmatched value to both your business and your clients.

Photo

Need a custom cluster or professional advice?

Book a meeting and get a free 30-minute consultation with Vlad, co-founder & CTO of Scala Hosting, who will help you select, design and build the right solution - from a single data center cluster to a multi-region & multi-datacenter high availability cluster with hundreds of servers.

Book a free consultation

4. Learn how to grow your website in 2024

An all-star team of SEO and web influencers are sharing their secret knowledge for the first time in years. Learn about the future of SEO, Web Design best practices and the secrets to getting the foundation for your website to thrive. Watch the exclusive webinar.

An Exclusive Insiders Look Behind The SEO and Web Development Curtain

Rado
Author

Working in the web hosting industry for over 13 years, Rado has inevitably got some insight into the industry. A digital marketer by education, Rado is always putting himself in the client's shoes, trying to see what's best for THEM first. A man of the fine detail, you can often find him spending 10+ minutes wondering over a missing comma or slightly skewed design.