About SOA DNS record:-
SOA DNS is known as start of authority (SOA) record is information stored in a domain name system (DNS).
A Start of Authority (SOA) record, sometimes called a serial number, is assigned to every domain and changes everytime its DNS settings change.
Let us assume commondomain.com is hosted and pointed to chennaihosting.in name servers we create a SOA record for the domain in our authoritative DNS records and update it as you change DNS settings.
A DNS zone is the part of a domain for which an individual DNS server is responsible. Each zone contains a single SOA record.
A common reason to check a domain SOA record is to ensure a recent DNS change has propagated. For example, the record may have changed to improve overall email authentication. A successful DNS change for this modification would be described as having “propagated.” Below we cover how to view and update your SOA record.
Here’s the breakdown of a SOA record: domain.com. ns1.inmotionhosting.com. 2018102905 86400 7200 3600000 86400.
Domain | followed by primary name servers |
2023111600 | YYYYMMDD (Year, Month, Day) date format and ## update number |
3600 | Seconds before the zone should be refreshed(1 hour) |
3600 | Seconds before a failed refresh should be retried(1 hour) |
1209600 | Seconds before a zone is no longer considered authoritative (2 weeks) |
86400 | Seconds before a resolver should assign a negative result for a subdomain before retrying (1 day) |
View Your SOA DNS Record
Online tools such as MxToolbox and ViewDNS.info are the easiest method to view SOA records.
SSH command dig can show the same information.
dig SOA domain.com ;; ANSWER SECTION: domain.com. 86400 IN SOA ns1.chennaihosting.in. 2023111600 3600 3600 1209600 86400
Add +multiline to the command for more details.
dig SOA +multiline domain.com ;; ANSWER SECTION: domain.com. 86400 IN SOA ns1.chennaihosting.in. ( 2023111600 ; serial 86400 ; refresh (1 hour) 3600 ; retry (1 hour) 1209600 ; expire (2 weeks) 3600 ; minimum (1 hour)
Update SOA DNS Record
Updating DNS records generally forces the SOA record to update automatically within 24-48 hours. If your SOA record hasn’t updated after a recent change, you’ll need to edit another DNS record
Update SOA in WHM
VPS users can force SOA record updates in WHM as root.
- Log into WHM.
2.On the left, select Edit DNS Zone.
- Select the domain.
- Under the nameserver is the current SOA record. For example:
2023111600 Serial Number
- To update the SOA record, increase the last digit pair by one. For example,
2023111600 to 2023111601 or
2023111600 to 2023111610. - Press Save at the bottom.
The DNS changes should propogate within 24-48 hours.
In order to know about how to config time and date on centos using NTP click here.