Satchmo <don.t...@dontdo.spam.not> wrote:
> How do I explore the hierarchy of the DNS servers using the 'dig'
> command? I know about the DNS IP/name resolution but how do I get a list
> of the names of DNS servers in the delegation chain for my query?
Dig probably isn't the best tool for this; I'd suggest something like
dnstracer instead, like this -
dnstracer -4 -c -s .
www.roaima.co.uk
But if you really want to use dig, I'd start with "dig ns .", which
will give you a set of root name servers. Pick one and ask it for the
nameserver for your top level. In my case I'd ask "dig @
k.root-servers.net
ns uk". I'd then have a set of nameservers for the uk TLD and I would go
and ask them for "
co.uk" using something like this, "dig @
ns4.nic.uk ns
co.uk". And then I'd have a set of nameservers to ask for
roaima.co.uk -
which is my domain.
Chris