免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2592 | 回复: 4
打印 上一主题 下一主题

[DNS] 求助,bind问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-01-21 09:44 |只看该作者 |倒序浏览
在windows2003上安装了bind,按照相关说明配置成功了,也解析正常,隔了一晚上,什么都没动,就突然不解析了,然后过了好久都是同样的问题,怎么也搞不定了
就是不解析
nslookup  就是 cache2.ahhfptt.net.cn   can't find xxxx.com:server failed


named.conf 配置文件
  1. acl "trust-lan" { 127.0.0.1/8; 10.0.0.0/24;};
  2. options {
  3.         directory "C:\WINDOWS\system32\dns\etc";
  4.         recursion no;
  5.         version "0.0.0";
  6.         allow-transfer { "trust-lan";};
  7.         allow-notify { "trust-lan"; };
  8.         auth-nxdomain no;
  9.         forwarders { };  

  10. };



  11. key "rndc-key" {
  12.         algorithm hmac-md5;
  13.         secret "/57+EO4PNeGbLZXtFLKw4A==";
  14. };

  15. controls {
  16.         inet 127.0.0.1 port 953
  17.                 allow { 127.0.0.1; } keys { "rndc-key"; };
  18. };






  19. logging {
  20. channel warning
  21. { file "C:\WINDOWS\system32\dns\log\dns_warnings.txt" versions 3 size 1240k;
  22. severity warning;
  23. print-category yes;
  24. print-severity yes;
  25. print-time yes;
  26. };
  27. channel general_dns
  28. { file "C:\WINDOWS\system32\dns\log\dns_logs.txt" versions 3 size 1240k;
  29. severity info;
  30. print-category yes;
  31. print-severity yes;
  32. print-time yes;
  33. };
  34. category default { warning; };
  35. category queries { general_dns; };
  36. };


  37. include "cnc.conf";


  38. view "view_cnc" {
  39. match-clients { CNC; };
  40. zone "." {
  41. type hint;
  42. file "named.root";
  43. };

  44. zone "0.0.127.IN-ADDR.ARPA" {
  45. type master;
  46. file "localhost.rev";
  47. };

  48. include "master/cnc.def";
  49. };

  50. view "view_any" {
  51. match-clients { any; };
  52. zone "." {
  53. type hint;
  54. file "named.root";
  55. };

  56. zone "0.0.127.IN-ADDR.ARPA" {
  57. type master;
  58. file "localhost.rev";
  59. };

  60. include "master/telecom.def";
  61. };
复制代码
  1. $TTL 3600
  2. $ORIGIN xxxx.com.
  3. @ IN SOA ns1.xxxx.com. root.xxxx.com.(
  4. 20110118001 ;Serial
  5. 3600 ; Refresh ( seconds )
  6. 900 ; Retry ( seconds )
  7. 68400 ; Expire ( seconds )
  8. 15 );Minimum TTL for Zone ( seconds )
  9. ;
  10. @         IN NS         ns1.xxxx.com.
  11. NS1         IN A         192.168.98.111
  12. @         IN A         192.168.98.113
  13. www         IN A         192.168.98.113
  14. test        IN A         192.168.98.115
  15. *         IN A         192.168.98.113
  16. ;
  17. ;end
复制代码
ns1.xxxx.com 是注册过的ns



好久都找不到原因,谢谢了{:2_175:}

论坛徽章:
0
2 [报告]
发表于 2011-01-21 09:52 |只看该作者
回复 1# torylf

你nslookup指定的dns是否开放递归查询,如果是你自己配置的dns服务器,我看是没打开的

    recursion no;

论坛徽章:
0
3 [报告]
发表于 2011-01-21 09:54 |只看该作者
如果没有开放,该如何开放呢,求指点。刚配置的时候是正常解析的

论坛徽章:
0
4 [报告]
发表于 2011-01-21 10:05 |只看该作者
回复 3# torylf


    recursion yes;

论坛徽章:
0
5 [报告]
发表于 2011-01-21 10:09 |只看该作者
修改了,重启了bind  还是不行  cache2.ahhfptt.net.cn   can't find xxxx.com:server failed
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP