DNS/BIND troubleshooting: request a domain’s SOA using dig
To retrieve the SOA for the domain tech-recipes.com, use:
dig soa tech-recipes.com
and look for the ANSWER SECTION for the response. To get a short version without all of the extra information, use
dig +short soa tech-recipes.com









Mactard said on January 7, 2011
Hi,
Thank you very much for the ’soa’ command, it was exactly what I was looking for. One question I had though was is there a way to format what prints out in a human readable format? And I actually found the answer elsewhere and thought I’d add it here:
#:~$ dig soa tech-recipes.com @8.8.4.4 +multiline
; > DiG 9.6-ESV-R3 > soa tech-recipes.com @8.8.4.4 +multiline
;; global options: +cmd
;; Got answer:
;; ->>HEADER