免费注册 查看新帖 |

Chinaunix

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

请求帮助!! [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2003-04-07 15:49 |只看该作者 |倒序浏览
各位大虾:
   
    小弟准备配一个dns服务器,在局域网中使用,机器配置是 solaris 8 dns 服务器用solaris 8自带
的bind,可是配好之后 在用nslookup测试的时候,总是出现如下错误:
Can\'t find server name for address 172.16.200.211: Server failed
Default servers are not available
请问是何原因阿?

我的各个文件配置如下:
/etc/hosts:
    127.0.0.1       localhost
    172.16.200.211  netwlab
/etc/resolv.conf
    nameserver 172.16.200.211
/etc/named.conf
    option {
    directory \"/var/named\";
    pid-file \"named.pid\";

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


    zone \"ce-air.com\" IN {
    type master;
    file \"ip2name.zone\";
    notify no;

    };
    zone \"0.0.127.in-addr.arpa\" {
    type master;
    file \"localhost.rev\";
    notify no;
    };
/var/named/ip2name.zone
    $TTL 86400
    @ IN SOA netwlab.ce-air.com. root.netwlab.xxx.com. {
                      991226009
                      10800
                     3600
                      3600000
                      3600 }
                @      IN NS          netwlab.xxx.com
                @      IN MX    10      mail.xxx.com
                 localhost IN A 127.0.0.1
                 netwlab   IN A 172.16.200.211
                 mail      IN A 172.16.2.15
/var/named/localhost.rev
    $TTL 3600
    @ IN SOA netwlab.xxx.com. root.netwlab.xxx.com.{
     1;
     3600;
     900;
     3600000;
     3600;
     };
     IN NS     netwlab.xxx.com.
     IN A      127.0.0.1
     1 IN PTR   localhost.

请各位大虾不吝赐教

论坛徽章:
0
2 [报告]
发表于 2003-04-08 09:23 |只看该作者

请求帮助!!

写过了,各位能帮忙看看这些配置文件么
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP