I have DNS setup in x2 places and will be repointing NS shortly. Before I do that, I wanted to confirm DNS is correct at both locations.
I'm using dig and passing in a file.
When I query the NS of the current location, I get the DNS i'm expecting;
dig subdomain.domain.com NS +noall +answer
subdomain.domain.com. 3599 IN NS ns3.domain.com.
subdomain.domain.com. 3599 IN NS ns1.domain.com.
subdomain.domain.com. 3599 IN NS ns2.domain.com.
subdomain.domain.com. 3599 IN NS ns4.domain.com.
But when I pass the new location NS into the command, with the same file, i'm getting nothing back
'dig @some.NS.net. subdomain.domain.com. NS +noall +answer'
+noall +answer
; (2 servers found)
;; global options: +cmd
I'm most definitely an idiot, most of the time, but I'm failing to understand this behaviour, as the records i'm expecting to return definitely exist in the new location, and do actually return if I query them indivudally, but with the '+noall' omitted. Like;
'dig @some.NS.net. subdomain.domain.com. NS +answer'
Except I just want the 'simple' answer for output to use.
Please assist a fellow human being.
Thanks in advance.