dnstracer包装说明
dnstracer决定了一个给定的域名服务器(DNS)从一个给定的主机名获得信息,并遵循DNS服务器链回权威的答案。
资料来源:http://www.mavetju.org/unix/general.php
dnstracer首页 | 卡利dnstracer回购
- 作者:埃德温Groothuis
- 许可:BSD
包含在dnstracer软件包工具
dnstracer - 跟踪DNS查询的源
[email protected]:~# dnstracer
DNSTRACER version 1.8.1 - (c) Edwin Groothuis - http://www.mavetju.org
Usage: dnstracer [options] [host]
-c: disable local caching, default enabled
-C: enable negative caching, default disabled
-o: enable overview of received answers, default disabled
-q <querytype>: query-type to use for the DNS requests, default A
-r <retries>: amount of retries for DNS requests, default 3
-s <server>: use this server for the initial request, default localhost
If . is specified, A.ROOT-SERVERS.NET will be used.
-t <maximum timeout>: Limit time to wait per try
-v: verbose
-S <ip address>: use this source address.
-4: don't query IPv6 servers
dnstracer用法示例
扫描域(example.com),重试多达3次(-r 3),并显示详细输出(-v):
[email protected]:~# dnstracer -r 3 -v example.com
Tracing to example.com[a] via 192.168.1.1, maximum of 3 retries
192.168.1.1 (192.168.1.1) IP HEADER
- Destination address: 192.168.1.1
DNS HEADER (send)