Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

What Parameters are required to retrieve the zone file version, when using the linux "dig" command (of any of the "Root DNS" servers/zonefiles like versign etc...)?

Thanks jens

share|improve this question

1 Answer 1

up vote 4 down vote accepted

You probably want the "serial number", which is part of the SOA record:

$ dig soa
; [lots of output snipped]

;; ANSWER SECTION:      86400   IN      SOA 2009090940 3600 600 604800 60
$ dig +short soa 1415583 7200 1800 1209600 300

Serial number is the 3rd field: 2009090940 and 1415583 in these examples.

share|improve this answer
Thank you very much!!! – user35251 May 16 '10 at 21:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.