天天看点

从终端 Terminal 查看 macOS DNS 信息 Macbook

从终端 Terminal 查看 macOS DNS 信息 Macbook

cat /etc/resolv.conf      
#
# macOS Notice
#
# This file is not consulted for DNS hostname resolution, address
# resolution, or the DNS query routing mechanism used by most
# processes on this system.
#
# To view the DNS configuration used by this system, use:
#   scutil --dns
#
# SEE ALSO
#   dns-sd(1), scutil(8)
#
# This file is automatically generated.
#
nameserver 114.114.114.114
nameserver 180.76.76.76
nameserver 8.8.8.8
nameserver 1.2.4.8      

继续阅读