V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
Jaosn
V2EX  ›  Linux

CentOS 5.5 DNS bind 解析问题,求助!

  •  
  •   Jaosn · 2015-11-19 17:57:49 +08:00 · 1805 次点击
    这是一个创建于 3092 天前的主题,其中的信息可能已经有所发展或是发生改变。
    新学 linux 不久遇到个问题,到现在还没有解决

    安装 bind 服务,配置好正向解析后, linux 系统可以正常解析。

    但是在 XP 客户机上却不能正常解析
    提示错误: ping request could not find host

    今天重新安装系统,重新配置 bind 服务。
    都可以正常解析,但是我添加了一条记录后,居然又无法解析了。

    双方都可以 ping 通,防火墙均已关闭

    最后贴上我的配置:

    主配置文件:
    options {
    listen-on port 53 { any; };
    listen-on-v6 port 53 { any; };
    directory "/var/named";
    dump-file "/var/named/data/cache_dump.db";
    statistics-file "/var/named/data/named_stats.txt";
    memstatistics-file "/var/named/data/named_mem_stats.txt";

    // Those options should be used carefully because they disable port
    // randomization
    // query-source port 53;
    // query-source-v6 port 53;

    allow-query { any; };
    allow-query-cache { any; };


    区域文件配置:
    zone "qq.com" IN {
    type master;
    file "qq_zheng";
    allow-update { none; };
    };

    zone "51.206.10.in-addr.arpa" IN {
    type master;
    file "qq_fan";
    allow-update { none; };
    };



    解析配置:
    IN NS qq.com
    www IN A 10.206.51.221
    ftp IN A 10.206.51.221
    2 条回复    2015-11-19 18:49:20 +08:00
    bobopu
        1
    bobopu  
       2015-11-19 18:42:48 +08:00 via iPhone
    看下日志报错什么
    initialdp
        2
    initialdp  
       2015-11-19 18:49:20 +08:00
    新学用 5.5 ? 还是扔了吧,用 6 或者 7 。另外,如果是初学者,实在应该装 Ubuntu 或者 Debian 才是。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   980 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 21:25 · PVG 05:25 · LAX 14:25 · JFK 17:25
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.