DNS服务器

 

 

 

#安装dns客户端软件 dig与nslookup yum install bind-utils -y dig www.4399.com|grep -i 'query time' #第二次访问就能够缓存加速了 [root@local-pyyu ~]# nslookup baidu.com #用本地dns Server: 192.168.178.180 Address: 192.168.178.180#53 Name: baidu.com Address: 123.206.16.61 [root@local-pyyu ~]# [root@local-pyyu ~]# [root@local-pyyu ~]# nslookup baidu.com 223.5.5.5 #用公网dns Server: 223.5.5.5 Address: 223.5.5.5#53 Non-authoritative answer: Name: baidu.com Address: 39.156.69.79 Name: baidu.com Address: 220.181.38.148 [root@local-pyyu ~]# nslookup taobao.com #用本地dns Server: 192.168.178.180 Address: 192.168.178.180#53 Name: taobao.com Address: 123.206.16.61 [root@local-pyyu ~]# nslookup www.jd.com #转发给上游服务器 Server: 192.168.178.180 Address: 192.168.178.180#53 Non-authoritative answer: www.jd.com canonical name = www.jd.com.gslb.qianxun.com. www.jd.com.gslb.qianxun.com canonical name = www.jdcdn.com. www.jdcdn.com canonical name = img2x-v6-sched.jcloudedge.com. Name: img2x-v6-sched.jcloudedge.com Address: 117.131.205.3 Name: img2x-v6-sched.jcloudedge.com Address: 2409:8c02:11c:20:8000::3 

 

原文链接:https://www.cnblogs.com/abc1234567/p/14136459.html

原创文章,作者:优速盾-小U,如若转载,请注明出处:https://www.cdnb.net/bbs/archives/17242

(0)
上一篇 2023年5月5日
下一篇 2023年5月6日

相关推荐

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注

优速盾注册领取大礼包www.cdnb.net
/sitemap.xml