免费注册 查看新帖 |

Chinaunix

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

[DNS] 请帮忙看看这个DNS配置有什么问题? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-03-07 19:52 |只看该作者 |倒序浏览
请帮哥们儿看看这个DNS配置:不知问题出在哪里,以前也是这么配置的啊,不知这次怎么不行了!郁闷了好几天了
named.conf
// generated by named-bootconf.pl

options {
        directory "/var/named";
        /*
         * 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
//
controls {
        inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
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 "nmsti.com" IN {
      type master;
      file "nmsti.com.hosts";
};
zone "1.16.172.in-addr.arpa" IN {
      type master;
      file "172.16.1.rev";
};
zone "1.10.10.in-addr.arpa" IN {
      type master;
      file "10.10.1.rev";
};

include "/etc/rndc.key";
10.10.1.rev
$TTL    86400
@       IN      SOA     rh9.nmsti.com. root.localhost. (
                                      1997022700 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
              IN      NS      rh9.nmsti.com.
2           IN PTR rh9.nmsti.com.
2           IN PTR vip.nmsti.com.
172.16.1.rev
$TTL    86400
@       IN      SOA     rh9.nmsti.com. root.localhost. (
                                      1997022700 ; Serial
                                      28800      ; Refresh
                                      14400      ; Retry
                                      3600000    ; Expire
                                      86400 )    ; Minimum
              IN      NS      rh9.nmsti.com.
206           IN PTR www.nmsti.com.
208           IN PTR zwqk.nmsti.com.
220           IN PTR tech.nmsti.com.
210           IN PTR gov.nmsti.com
nmsti.com.hosts
$TTL    86400
@                      1D  IN SOA       rh9.nmsti.com. root.localhost. (
                                        42              ; serial (d. adams)
                                        3H              ; refresh
                                        15M             ; retry
                                        1W              ; expiry
                                        1D )            ; minimum
                        IN NS           rh9.nmsti.com.
                        IN MX   10       vip.nmsti.com.
rh9                     IN A 10.10.1.2
vip                     IN A 10.10.1.2
zwqk                    IN A 172.16.1.208
tech                    IN A 172.16.1.220
gov                     IN A 172.16.1.210
www                     IN A 172.16.1.206
wanfangdata             IN CNAME zwqk.nmsti.com.
movie                   IN CNAME tech.nmsti.com.
music                   IN CNAME tech.nmsti.com.
flash                   IN CNAME tech.nmsti.com.
meeting                 IN CNAME gov.nmsti.com.
data                    IN CNAME gov.nmsti.com.
center                  IN CNAME gov.nmsti.com.

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

请帮忙看看这个DNS配置有什么问题?

能否貼一下 log ?

论坛徽章:
0
3 [报告]
发表于 2005-03-08 09:00 |只看该作者

请帮忙看看这个DNS配置有什么问题?

照上边的配置总是提示说"server can't find........"
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP