安全参透之旅第2章 dig工具使用



--使用dig工具指定某个DNS域名服务器,对www.cloudcentrics.com,有5台授权DNS服务器


root@kali:~# dig -t ns cloudcentrics.com


; <<>> DiG 9.9.5-9+deb8u2-Debian <<>> -t ns cloudcentrics.com
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62005
;; flags: qr rd ra; QUERY: 1, ANSWER: 5, AUTHORITY: 0, ADDITIONAL: 6


;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; MBZ: 0005 , udp: 4096
;; QUESTION SECTION:
;cloudcentrics.com.             IN      NS


;; ANSWER SECTION:
cloudcentrics.com.      5       IN      NS      dns3.name-services.com.
cloudcentrics.com.      5       IN      NS      dns4.name-services.com.
cloudcentrics.com.      5       IN      NS      dns5.name-services.com.
cloudcentrics.com.      5       IN      NS      dns1.name-services.com.
cloudcentrics.com.      5       IN      NS      dns2.name-services.com.


;; ADDITIONAL SECTION:
dns1.name-services.com. 5       IN      A       98.124.192.1
dns2.name-services.com. 5       IN      A       98.124.197.1
dns3.name-services.com. 5       IN      A       98.124.193.1
dns4.name-services.com. 5       IN      A       98.124.194.1
dns5.name-services.com. 5       IN      A       98.124.196.1


;; Query time: 215 msec
;; SERVER: 192.168.144.2#53(192.168.144.2)
;; WHEN: Sun Oct 25 16:50:09 EDT 2015
;; MSG SIZE  rcvd: 235
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

随行之旅

python国产化自动化

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值