Dnstracer determines where a given Domain Name Server (DNS) gets its information from, and follows the chain of DNS servers back to the servers which know the data. Its behavior is similar to ntptrace(8), which does it for the NTP protocol.
Download Link:- https://github.com/Orc/dnstracer