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
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6

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.
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9

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

发布了181 篇原创文章 · 获赞 198 · 访问量 50万+
展开阅读全文
blackocular关注
blackocular

21篇文章

排名:千里之外

一个会写诗的程序员关注
一个会写诗的程序员

1544篇文章

排名:7000+

weixin_33720452关注
weixin_33720452

4563篇文章

排名:千里之外

Elonjelinek关注
Elonjelinek

78篇文章

排名:千里之外

没有更多推荐了,

©️2019 CSDN 皮肤主题: 大白 设计师: CSDN官方博客
客服 举报 举报 返回
顶部