天天看點

從終端 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      

繼續閱讀