dnstop监控dns服务器状态

本文介绍了如何使用dnstop来监控DNS服务器的状态,包括安装步骤、参数说明和使用方法。通过指定网口启动dnstop,可以实时查看DNS流量和解析情况。
摘要由CSDN通过智能技术生成

官方地址

http://dns.measurement-factory.com/tools/dnstop/sample.html

安装

查询源中是否存在dnstop软件包

root@linux:~$ aptitude search dnstop
p   dnstop                                              - console tool to analyze DNS traffic    

查询存在进行安装,不存在的话可以考虑编译安装或者添加适合的源

root@linux:~$ aptitude intstall dnstop

应用

参数说明

root@linx:/home/rocky# dnstop
usage: dnstop [opts] netdevice|savefile
-4  Count IPv4 packets
-6  Count IPv6 packets
-4  Count IPv4 packets
-6  Count IPv6 packets
-a  Anonymize IP Addrs
-b expr BPF program code
-i addr Ignore this source IP address
-p  Don't put interface in promiscuous mode
-r  Redraw interval, in seconds
-l N    Enable domain stats up to N components
-f  filter-name
Available filters:
unknown-tlds
A-for-A
rfc1918-ptr
<
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值