免费注册 查看新帖 |

Chinaunix

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

[DNS] 提问:看看我得DNS配置问题: [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2006-08-30 00:46 |只看该作者 |倒序浏览
message
# Aug 30 00:40:44.106 starting BIND 9.2.3 -gc /etc/named.conf
Aug 30 00:40:44.109 using 1 CPU
Aug 30 00:40:44.128 loading configuration from '/etc/named.conf'
Aug 30 00:40:44.133 listening on IPv4 interface lo0, 127.0.0.1#53
Aug 30 00:40:44.136 binding TCP socket: address in use
Aug 30 00:40:44.136 listening on IPv4 interface pcn0, 192.168.63.2#53
Aug 30 00:40:44.137 binding TCP socket: address in use
Aug 30 00:40:44.149 couldn't add command channel 127.0.0.1#953: address in use
Aug 30 00:40:44.149 couldn't add command channel ::1#953: address not available
Aug 30 00:40:44.150 ignoring config file logging statement due to -g option
Aug 30 00:40:44.158 named.rxjmu.edu.cn:15: file does not end with newline
Aug 30 00:40:44.158 zone 63.168.192.in-addr.arpa/IN: loaded serial 9999
Aug 30 00:40:44.159 zone 255.in-addr.arpa/IN: loaded serial 42
Aug 30 00:40:44.160 zone 0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN: loaded serial 1997022700
Aug 30 00:40:44.161 named.xjmu.edu.cn:15: file does not end with newline
Aug 30 00:40:44.161 zone test.com/IN: loaded serial 1997022703
Aug 30 00:40:44.161 running
Aug 30 00:40:44.168 zone 63.168.192.in-addr.arpa/IN: sending notifies (serial 9999)
Aug 30 00:40:44.168 zone test.com/IN: sending notifies (serial 1997022703)


named.conf
//
// named.conf for Red Hat caching-nameserver
//

options {
        directory "/var/named";
        dump-file "/var/named/data/cache_dump.db";
        statistics-file "/var/named/data/named_stats.txt";
        forward first;
        forwarders {
        61.128.99.133;
        };           

        /*
         * If there is a firewall between you and nameservers you want
         * to talk to, you might need to uncomment the query-source
         * directive below.  Previous versions of BIND always asked
         * questions using port 53, but BIND 8.1 uses an unprivileged
         * port by default.
         */
         // query-source address * port 53;
};

//
// a caching only nameserver config
//
//logging{
//      Channel syslog_info{
//      File "/var/log/bindall.log" version 20 size 2M;
//      Print-category yes;
//      Print-time yes;
//      Severity notice;
//              };
//      category default {
//      syslog_info;
//              };
//};



zone "." IN {
        type hint;
        file "named.ca";
};



zone "0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
        type master;
        file "named.ip6.local";
        allow-update { none; };
};

zone "255.in-addr.arpa" IN {
        type master;
        file "named.broadcast";
        allow-update { none; };
};


zone "test.com" IN {
        type master;
        file "named.xjmu.edu.cn";
        allow-update { none; };
};


zone "63.168.192.in-addr.arpa" IN {
        type master;
        file "named.rxjmu.edu.cn";
        allow-update { none; };
};

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
2 [报告]
发表于 2006-09-04 01:18 |只看该作者
Aug 30 00:40:44.158 named.rxjmu.edu.cn:15: file does not end with newline

所以, 你要貼 named.rxjmu.edu.cn 的內容出來看.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP