1DNSTRACER(8) Additional Software DNSTRACER(8)
2
3
4
6 dnstracer - trace a chain of DNS servers to the source
7
9 dnstracer [options] name
10
12 dnstracer determines where a given Domain Name Server (DNS) gets its
13 information from, and follows the chain of DNS servers back to the
14 servers which know the data.
15
16 Options are:
17
18 -c Disable local caching.
19
20 -C Enable negative caching.
21
22 -e Disable EDNS0 options.
23
24 -E size Set EDNS0 size, default is 1500 bytes.
25
26 -o Enable overview of received answers at the end.
27
28 -q queryclass
29 Change the query-class, default is A. You can either specify a
30 number of the type (if you're brave) or one of the following
31 strings: a, aaaa, a6, soa, cname, hinfo, mx, ns, txt and ptr.
32
33 -r retries
34 Number of retries for DNS requests, default 3.
35
36 -s server
37 DNS server to use for the initial request, default is aquired
38 from the system. If a dot is specified (.), A.ROOT-SERVERS.NET
39 will be used.
40
41 -v Be verbose on what sent or received.
42
43 -4 Use only IPv4 servers, don't query IPv6 servers (only available
44 when IPv6 support hasn't been disabled)
45
46 -S sourceaddress
47 Use this as source-address for the outgoing packets.
48
50 It sends the specified name-server a non-recursive request for the
51 name.
52
53 Non-recursive means: if the name-server knows it, it will return the
54 data requested. If the name-server doesn't know it, it will return
55 pointers to name-servers that are authoritive for the domain part in
56 the name or it will return the addresses of the root name-servers.
57
58 If the name server does returns an authoritative answer for the name,
59 the next server is queried. If it returns an non-authoritative answer
60 for the name, the name servers in the authority records will be
61 queried.
62
63 The program stops if all name-servers are queried.
64
65 Make sure the server you're querying doesn't do forwarding towards
66 other servers, as dnstracer is not able to detect this for you.
67
68 It detects so called lame servers, which are name-servers which has
69 been told to have information about a certain domain, but don't have
70 this information.
71
73 Search for the A record of www.mavetju.org on your local nameserver:
74
75 dnstracer www.mavetju.org
76
77 Search for the MX record of mavetju.org on the root-nameservers:
78
79 dnstracer "-s" . "-q" mx mavetju.org
80
81 Search for the PTR record (hostname) of 212.204.230.141:
82
83 dnstracer "-q" ptr 141.230.204.212.in-addr.arpa
84
85 And for IPv6 addresses:
86
87 dnstracer "-q" ptr "-s" . "-o"
88 2.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.6.4.0.2.0.0.0.0.8.b.0.e.f.f.3.ip6.arpa
89
91 ntptrace(8), traceroute(8), dig(1)
92
94 Edwin Groothuis, edwin@mavetju.org (http://www.mavetju.org)
95
96 See http://www.mavetju.org/contacts.php for mailing-lists.
97
98
99
100June 10, 2008 June 10, 2008 DNSTRACER(8)