失眠网,内容丰富有趣,生活中的好帮手!
失眠网 > linux shell dig nslookup 指定dns服务器 查询域名解析

linux shell dig nslookup 指定dns服务器 查询域名解析

时间:2022-10-13 07:20:51

相关推荐

linux shell dig nslookup 指定dns服务器 查询域名解析

一般来说linux下查询域名解析有两种选择,nslookup或者dig,而在使用上我觉得dig更加方便顺手。

如果是在linux下的话,只要装上dnsutils这个包就可以使用dig命令, 安装bind-utils就可以使用nslookup命令

nslookup手动指定待测试的dns服务器地址的用法:

nslookup www.wjoyxtorg 114.114.114.114

手动指定待测试的dns服务器地址,不使用系统默认的/etc/resolve.conf,例如

dig @114.114.114.114

如果觉得《linux shell dig nslookup 指定dns服务器 查询域名解析》对你有帮助,请点赞、收藏,并留下你的观点哦!

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。