Looking for DNS tracing tool

Pete Ehlke pde at ehlke.net
Fri Jul 12 16:15:49 UTC 2002


On Fri, Jul 12, 2002 at 05:12:01AM +0000, phil-news-nospam at ipal.net wrote:
> I'm looking for a DNS tracing tool that doesn't stop and NS records,
> but follows through and completes the trace, not only following
> delegations all the way, but also getting the final record and show
> it, PLUS, if it is a CNAME and something other than CNAME was requested,
> it should follow the CNAME as well, exactly like any recursive lookup
> would do, and shows everything down to the final record, including it.
> So if I'm doing a A record lookup for a name which has a couple of CNAME
> references, it will follow through both CNAME references and give the
> final A record (and everything in between).  Basically it would be a
> full recursive trace.
> 
> I've tried "dig +trace" and a program called dnstracer, but both of
> the stop at the last name server and won't finish, and both fail to
> follow a CNAME.
> 
> An added plus, which dnstracer can do somewhat, is to do a "full spread"
> recursion, where ever reference is followed through at every level, even
> if they go different ways.  For example, every name server is queried
> for multiple NS records.  And if those servers have different data that
> would recurse in different directions, all of them would be followed.
> 
> It would also be nice if it encounters obvious errors, to note the errors
> and keep on working.
> 
> Another added plus would be to follow PTR records to corresponding A recors.
> 
Much as I am loathe to recommend djbware, what you are really looking
for is dnstrace | dnstracesort | less

See http://cr.yp.to/djbdns/tools.html

-Pete


More information about the bind-users mailing list