DNS和bind9相关

1 篇文章 0 订阅

最近在折腾bind9,顺带看了域名解析相关的东西,发现几个网站很不错

http://www.madboa.com/geek/dig/  这个网页把dig的用户说得很透彻,有意思的是说到的dig xxx.com +trace能看到类似traceroute那样的效果,就是dns resolve request整个过程所经历的dns server,由于dig能指定服务器,且能指定包含hostname的文件,所以dig也很适合来对dns server来做性能测试

反向查询: dig @name_server -x a.b.c.d

http://www.madboa.com/geek/soho-bind/  How to configure BIND 9 to act as a caching nameserver or as the nameserver for a local domain.

http://www.bind9.net/  O'Reilly出版社维护的bind9的网站,有很多整理好的资源

https://calomel.org/dns_bind.html  Bind Authoritative Caching DNS


如何实现cache/forward/recursing

如果指定了forwarders则如果本地无法解析,则由name server自身递归去这些forwarders查询,如果forwarder仍然查不到,则resursively去root问

      forwarders {
         10.100.70.251;
         202.106.195.68;
         220.231.35.70;
         8.8.8.8;
         };
        recursive-clients 1000000;

it tries cache, then the forwarders, then does recursion 
itself (unless "forward only" is set).

        recursion yes;

        recursive-clients 100000;


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值