免费注册 查看新帖 |

Chinaunix

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

[DNS] 我做了个dns 可就是起不来 一个都不能解析 大虾们帮我看看阿 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-08-11 13:38 |只看该作者 |倒序浏览
named.conf的内容为:
options {
       directory "/var/named";
};
zone "." IN {
       type hint;
       file "named.ca";
};

zone "localhost" IN {
       type master;
       file "localhost.zone";
       allow-update { none; };
};

zone "0.0.127.in-addr.arpa" IN {
       type master;
       file "named.local";
       allow-update { none; };
};
zone "test.com" IN {
    type master;
    file "test.host";
};
zone "6.168.192.in-addr.arpa" IN {
    type master;
    file "test.rev";
};

test.host的内容为:
$TTL 86400
@               IN       SOA   test.com.  root.test.com. (
                           20020930 ; serial
                           86400    ; refresh
                           1500     ; retry
                           360000   ; expire
                           86400)   ; minimum
               IN       NS             test.test.com.
test            IN       A              192.168.6.92
ly              IN       A              192.168.6.94
tesww           IN       A              192.168.6.27

test.rev的内容为:
$TTL 86400
@               IN           SOA       test.com.    root.test.com. (
                           20020930 ; serial
                           86400    ; refresh
                           1500     ; retry
                           360000   ; expire
                           86400)   ; minimum
@               IN           NS        test.test.com.
92              IN           PTR       test.
94              IN           PTR       ly.
27              IN           PTR       tseww.

大侠们 邦我看看 我哪里写的不对阿
message的内容为:
Aug 10 12:22:22 test named[22490]: exiting
Aug 10 12:22:24 test named[22515]: starting BIND 9.2.1 -u named
Aug 10 12:22:24 test named[22515]: using 1 CPU
Aug 10 12:22:24 test named[22515]: loading configuration from '/etc/named.conf'
Aug 10 12:22:24 test named: named startup succeeded
Aug 10 12:22:25 test named[22515]: no IPv6 interfaces found
Aug 10 12:22:25 test named[22515]: listening on IPv4 interface lo, 127.0.0.1#53
Aug 10 12:22:25 test named[22515]: listening on IPv4 interface eth0, 192.168.6.92#53
Aug 10 12:22:25 test named[22515]: command channel listening on 127.0.0.1#953
Aug 10 12:22:25 test named[22515]: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
Aug 10 12:22:25 test named[22515]: zone 6.168.192.in-addr.arpa/IN: loaded serial 20020930
Aug 10 12:22:25 test named[22515]: zone test.com/IN: loaded serial 20020930
Aug 10 12:22:25 test named[22515]: zone localhost/IN: loaded serial 42
Aug 10 12:22:25 test named[22515]: running
Aug 10 12:22:25 test named[22515]: zone 0.0.127.in-addr.arpa/IN: sending notifies (serial 1997022700)
Aug 10 12:22:25 test named[22515]: zone test.com/IN: sending notifies (serial 20020930)
Aug 10 12:22:25 test named[22515]: zone 6.168.192.in-addr.arpa/IN: sending notifies (serial 20020930)

我网卡的IP地址:192.168.6.92 在局域网中
有3台机器 ly 192.168.6.94
               tseww  192.168.6.27
              test        192.168.6.92
可我一个都解析不了!

论坛徽章:
0
2 [报告]
发表于 2005-08-11 13:43 |只看该作者

我做了个dns 可就是起不来 一个都不能解析 大虾们帮我看看阿

郁闷阿 怎么没人帮我啊 高手还没来啊?

论坛徽章:
0
3 [报告]
发表于 2005-08-11 13:48 |只看该作者

我做了个dns 可就是起不来 一个都不能解析 大虾们帮我看看阿

高手快来啊!

论坛徽章:
0
4 [报告]
发表于 2005-08-11 13:51 |只看该作者

我做了个dns 可就是起不来 一个都不能解析 大虾们帮我看看阿

100多人 就没人愿意帮助我啊!

论坛徽章:
0
5 [报告]
发表于 2005-08-11 14:21 |只看该作者

我做了个dns 可就是起不来 一个都不能解析 大虾们帮我看看阿

么高手?

论坛徽章:
0
6 [报告]
发表于 2005-08-11 14:22 |只看该作者

我做了个dns 可就是起不来 一个都不能解析 大虾们帮我看看阿

么高手阿  帮帮阿

论坛徽章:
1
荣誉版主
日期:2011-11-23 16:44:17
7 [报告]
发表于 2005-08-11 16:40 |只看该作者

我做了个dns 可就是起不来 一个都不能解析 大虾们帮我看看阿

client 端的 nameserver 設過來了嗎?
先在 server 本機端查吧. 通過了再查別的.

论坛徽章:
0
8 [报告]
发表于 2005-08-15 00:48 |只看该作者

我做了个dns 可就是起不来 一个都不能解析 大虾们帮我看看阿

你的SOA 上指定的好像不对啊,你的DNS服务器的名字是test吧,你在下面的NS记录中指定你的DNS服务器上test.test.com.上面也要一样!

论坛徽章:
0
9 [报告]
发表于 2005-08-15 00:50 |只看该作者

我做了个dns 可就是起不来 一个都不能解析 大虾们帮我看看阿

est.host的内容为:
$TTL 86400
@               IN       SOA   test.test.com.  root.test.com. (
                          20020930 ; serial
                          86400    ; refresh
                          1500     ; retry
                          360000   ; expire
                          86400)   ; minimum
              IN       NS             test.test.com.
test            IN       A              192.168.6.92
ly              IN       A              192.168.6.94
tesww           IN       A              192.168.6.27

test.rev的内容为:
$TTL 86400
@               IN           SOA       test.test.com.    root.test.com. (
                          20020930 ; serial
                          86400    ; refresh
                          1500     ; retry
                          360000   ; expire
                          86400)   ; minimum
@               IN           NS        test.test.com.
92              IN           PTR       test. test.com.
94              IN           PTR       ly. test.com.
27              IN           PTR       tseww.test.com.

最好写全了
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP