LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 661|回复: 0

请帮哥们儿看看这个配置:不知问题出在哪里,以前也是这么配置的啊,不知这次怎么不行

[复制链接]
发表于 2005-3-7 19:53:52 | 显示全部楼层 |阅读模式
请帮哥们儿看看这个配置:不知问题出在哪里,以前也是这么配置的啊,不知这次怎么不行了!郁闷了好几天了
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.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表