Find the DNS Authority Record for a DNS Domain (SOA)

Q.How do I find out the DNS authority record (SOA) for any DNS domain under UNIX / Linux shell?

A. You can easily find out (SOA) start of authority record using command such as dig or host under UNIX and Linux like operating systems. SOA specifies authoritative information about a DNS zone, including the primary name server, the email of the domain administrator, the domain serial number, and several timers relating to refreshing the zone.

Display SOA using host command

$ host -t soa {}
$ host -t soa

Sample output: has SOA record 2009012202 10800 3600 604800 3600

Display SOA using dig command

$ dig SOA {}
$ dig SOA

Sample output:

; <> DiG 9.5.0-P2 <> SOA
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 52962
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 3

;			IN	SOA

;; ANSWER SECTION:		10518	IN	SOA 2009012202 10800 3600 604800 3600

;; AUTHORITY SECTION:		1088	IN	NS		1088	IN	NS		1088	IN	NS

;; ADDITIONAL SECTION:	63071	IN	A	156291	IN	A	156291	IN	A

;; Query time: 226 msec
;; WHEN: Thu Feb  5 11:44:40 2009
;; MSG SIZE  rcvd: 196

Replace with your actual domain name for which you are trying to locate the DNS Authority.

Posted by: SXI ADMIN

The author is the creator of SXI LLC and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post

How to Make Website WCAG Compliant?

Next Post

Link download Kali Linux 2020.1 (ISO + Torrent)

Related Posts