|-c||Disable local caching.|
|-C||Enable negative caching.|
|-o||Enable overview of received answers at the end.|
|-q queryclass||Change the query-class, default is A. You can either specify a number of the type (if youre brave) or one of the following strings: a, aaaa, a6, soa, cname, hinfo, mx, ns, txt and ptr.|
|-r retries||Number of retries for DNS requests, default 3.|
|-s server||DNS server to use for the initial request, default is aquired from the system. If a dot is specified (.), A.ROOT-SERVERS.NET will be used.|
|-v||Be verbose on what sent or received.|
|-4||Use only IPv4 servers, dont query IPv6 servers (only available when IPv6 support hasnt been disabled)|
|-S sourceaddress||Use this as source-address for the outgoing packets.|
It sends the specified name-server a non-recursive request for the name.
Non-recursive means: if the name-server knows it, it will return the data requested. If the name-server doesnt know it, it will return pointers to name-servers that are authoritive for the domain part in the name or it will return the addresses of the root name-servers.
If the name server does returns an authoritative answer for the name, the next server is queried. If it returns an non-authoritative answer for the name, the name servers in the authority records will be queried.
The program stops if all name-servers are queried.
Make sure the server youre querying doesnt do forwarding towards other servers, as dnstracer is not able to detect this for you.
It detects so called lame servers, which are name-servers which has been told to have information about a certain domain, but dont have this information.
Search for the A record of www.mavetju.org on your local nameserver:
Search for the MX record of mavetju.org on the root-nameservers:
dnstracer -s . -q mx mavetju.org
Search for the PTR record (hostname) of 22.214.171.124:
dnstracer -q ptr 126.96.36.199.in-addr.arpa
And for IPv6 addresses:
dnstracer -q ptr -s . -o 188.8.131.52.0.0.0.0.0.0.0.0.0.0.0.0.0.6.4.0.184.108.40.206.0.8.b.0.e.f.f.3.ip6.int
ntptrace(8), traceroute(8), dig(1)
Edwin Groothuis, firstname.lastname@example.org (http://www.mavetju.org)
See http://www.mavetju.org/contacts.php for mailing-lists.
|February 10, 2008||DNSTRACER (8)||February 10, 2008|