Getting the name of responding server(s)

Ronald F. Guilmette rfg at tristatelogic.com
Tue Sep 7 07:33:59 UTC 2021


Greetings all,

Please forgive me if this question is a bit off-topic for this list.
I can be sure if it is or isn't until I get the answer.

My question is rather a simple one.  Given some FQDN `D' and given
some DNS record type 'T' (e.g. either A or AAAA or perhaps even PTR) does
there exist some open source command line tool that can tell me the names
of the DNS servers to which the final authority for answering a query about
the tuple (D, IN, T) is delegated?

I know that I can get this information by using "dig +trace", but that seems
to be rather slow to me (wall clock time), and I want to be doing this a lot.
Also, of course, "dig +trace" puts out quite lot of information that is really
of no use and no interest to me.  I really just want the names of the final
set of nameservers that should, if they are up and running, be the ones that
will ultimately answer the query.

So, does anyone know of an open source command line tool that can do just
that, preferably quickly?


Regards,
rfg


More information about the bind-users mailing list