使用dig而不是nslookup

这是一个更好的工具,然后NSLOOKUP获取有关任何站点的信息。它也有更好的能力。对于反向信息,请使用交换机“-x”和IP地址。
.

0

linux命令:dig google.com google.com dig dig google.comrootopen.com
linux命令:dig google.com google.com dig dig google.comrootopen.com
qmxc 2018-01-18 00:54:48
输出
linux命令:dig 详解

评论

相关推荐

linux命令:dig foo.org mx +short +short mx foo.org dig dig foo.org mx +shortrootopen.com
linux命令:dig foo.org mx +short +short mx foo.org dig dig foo.org mx +shortrootopen.com
.

由于最近绑定动态更新漏洞,我不得不深入挖掘...

linux命令:dig -t txt -c chaos VERSION.BIND @<dns.server.com> @<dns.server.com> VERSION.BIND chaos -c txt -t dig dig -t txt -c chaos VERSION.BIND @<dns.server.com>rootopen.com
linux命令:dig -t txt -c chaos VERSION.BIND @<dns.server.com> @<dns.server.com> VERSION.BIND chaos -c txt -t dig dig -t txt -c chaos VERSION.BIND @<dns.server.com>rootopen.com
.

通过发布TXT记录的DNS查询来查询维基百科。 TXT记录还将包含一个到达完整的相应维基百科条目的简短URL。您还可以编写一个如下的shell脚本:$ cat wikisole.sh#!/ bin / sh dig + short txt $ {1} .wp.dg。 cx并运行它./wikisole.sh unixwere您的第一个选项($ 1)将用作搜索词。

linux命令:dig +short txt <keyword>.wp.dg.cx <keyword>.wp.dg.cx txt +short dig dig +short txt <keyword>.wp.dg.cxrootopen.com
linux命令:dig +short txt <keyword>.wp.dg.cx <keyword>.wp.dg.cx txt +short dig dig +short txt <keyword>.wp.dg.cxrootopen.com
.

linux命令:dig +short $HOSTNAME $HOSTNAME +short dig dig +short $HOSTNAMErootopen.com
linux命令:dig +short $HOSTNAME $HOSTNAME +short dig dig +short $HOSTNAMErootopen.com
.

执行反向DNS查找,变体包括:nslookup 74.125.45.100或主机74.125.45.100

linux命令:dig -x 74.125.45.100 74.125.45.100 -x dig dig -x 74.125.45.100rootopen.com
linux命令:dig -x 74.125.45.100 74.125.45.100 -x dig dig -x 74.125.45.100rootopen.com
.

linux命令:dig -x {IP} {IP} -x dig dig -x {IP}rootopen.com
linux命令:dig -x {IP} {IP} -x dig dig -x {IP}rootopen.com
.

+短的选项应该使挖少聊。

linux命令:dig +short -x {ip} {ip} -x +short dig dig +short -x {ip}rootopen.com
linux命令:dig +short -x {ip} {ip} -x +short dig dig +short -x {ip}rootopen.com
.

linux命令:dig +short myip.opendns.com @resolver1.opendns.com @resolver1.opendns.com myip.opendns.com +short dig dig +short myip.opendns.com @resolver1.opendns.comrootopen.com
linux命令:dig +short myip.opendns.com @resolver1.opendns.com @resolver1.opendns.com myip.opendns.com +short dig dig +short myip.opendns.com @resolver1.opendns.comrootopen.com
.

而不是打开浏览器,搜索“whatismyip”...还可以在dnsutils包中找到scripts.dig。

linux命令:dig +short myip.opendns.com @resolver1.opendns.com @resolver1.opendns.com myip.opendns.com +short dig dig +short myip.opendns.com @resolver1.opendns.comrootopen.com
linux命令:dig +short myip.opendns.com @resolver1.opendns.com @resolver1.opendns.com myip.opendns.com +short dig dig +short myip.opendns.com @resolver1.opendns.comrootopen.com
.

linux命令:dig +short NS org. org. NS +short dig dig +short NS org.rootopen.com
linux命令:dig +short NS org. org. NS +short dig dig +short NS org.rootopen.com
.

比curl / wget-approaches更快。

linux命令:dig +short @resolver1.opendns.com myip.opendns.com myip.opendns.com @resolver1.opendns.com +short dig dig +short @resolver1.opendns.com myip.opendns.comrootopen.com
linux命令:dig +short @resolver1.opendns.com myip.opendns.com myip.opendns.com @resolver1.opendns.com +short dig dig +short @resolver1.opendns.com myip.opendns.comrootopen.com
.

非常有效,只使用DNS协议。如果您已将opendns服务器设置为默认ns服务器,则@部分是可选的。

linux命令:dig @208.67.222.222 myip.opendns.com myip.opendns.com @208.67.222.222 dig dig @208.67.222.222 myip.opendns.comrootopen.com
linux命令:dig @208.67.222.222 myip.opendns.com myip.opendns.com @208.67.222.222 dig dig @208.67.222.222 myip.opendns.comrootopen.com
.

linux命令:dig @somenameserver.net somedomainname.net axfr axfr somedomainname.net @somenameserver.net dig dig @somenameserver.net somedomainname.net axfrrootopen.com
linux命令:dig @somenameserver.net somedomainname.net axfr axfr somedomainname.net @somenameserver.net dig dig @somenameserver.net somedomainname.net axfrrootopen.com
.

简单的命令可以追踪从根目录到授权服务器的DNS查询。

linux命令:dig +trace google.com google.com +trace dig dig +trace google.comrootopen.com
linux命令:dig +trace google.com google.com +trace dig dig +trace google.comrootopen.com
.

linux命令:dig +short google.com google.com +short dig dig +short google.comrootopen.com
linux命令:dig +short google.com google.com +short dig dig +short google.comrootopen.com
.

linux命令:dig hostname a +short +short a hostname dig dig hostname a +shortrootopen.com
linux命令:dig hostname a +short +short a hostname dig dig hostname a +shortrootopen.com
.

md5校验和检查

linux命令:digest -a -v md5 <file-name> <file-name> md5 -v -a digest digest -a -v md5 <file-name>rootopen.com
linux命令:digest -a -v md5 <file-name> <file-name> md5 -v -a digest digest -a -v md5 <file-name>rootopen.com
.

只打印答案部分。

linux命令:dig +noall +answer exsample.com exsample.com +answer +noall dig dig +noall +answer exsample.comrootopen.com
linux命令:dig +noall +answer exsample.com exsample.com +answer +noall dig dig +noall +answer exsample.comrootopen.com
.

获取您当前的公开IP

linux命令:dig myip.opendns.com @Resolver1.opendns.com +short +short @Resolver1.opendns.com myip.opendns.com dig dig myip.opendns.com @Resolver1.opendns.com +shortrootopen.com
linux命令:dig myip.opendns.com @Resolver1.opendns.com +short +short @Resolver1.opendns.com myip.opendns.com dig dig myip.opendns.com @Resolver1.opendns.com +shortrootopen.com
.

向Google询问你当前的IP地址是什么。奖励:删除“@ ns1.google.com”,您将获得DNS服务器的IP地址。

linux命令:dig o-o.myaddr.l.google.com @ns1.google.com txt +short +short txt @ns1.google.com o-o.myaddr.l.google.com dig dig o-o.myaddr.l.google.com @ns1.google.com txt +shortrootopen.com
linux命令:dig o-o.myaddr.l.google.com @ns1.google.com txt +short +short txt @ns1.google.com o-o.myaddr.l.google.com dig dig o-o.myaddr.l.google.com @ns1.google.com txt +shortrootopen.com
.
共收录0条命令行
这里是记录和分享命令行的地方, 所有命令行都可以进行评论、提交替代方案.

推荐
    热门命令