mac 命令行查看DNS

mac 命令行查看DNS

使用命令nslookup

bin nslookup store.chanjet.com
Server:     172.18.24.45
Address:    172.18.24.45#53

Name:   store.chanjet.com
Address: 172.18.20.28

nslookup

查看文件/etc/resolv.conf

~ cat /etc/resolv.conf
#
# Mac OS X Notice
#
# This file is not used by the host name and address resolution
# or the DNS query routing mechanisms used by most processes on
# this Mac OS X system.
#
# This file is automatically generated.

/etc/resolv.conf
参考:
mac os 中如何使用命令查看dns

展开阅读全文

没有更多推荐了,返回首页