LinuxSir.cn,穿越时空的Linuxsir!

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

redhat 8.0 下的dns问题

[复制链接]
发表于 2003-3-14 23:13:44 | 显示全部楼层 |阅读模式
最近装了个redhat linux 8.0 用他来试一下dns

//////////////named.conf
controls {
        inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};

include "/etc/named.custom";

include "/etc/rndc.key";

options {
        directory "/var/named/";        
};

zone  "0.0.127.in-addr.arpa" IN {
        type master;
        file  "0.0.127.zone";
};
zone  "12.103.10.in-addr.arpa" IN {
        type master;
        file  "12.103.10.zone";
};
zone  "localhost" IN {
        type master;
        file  "localhost.zone";
};
zone  "test.com" IN {
        type master;
        file  "test.com.zone";
};

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

   
  
///////////////test.com.zone

$TTL 86400
@        IN        SOA        dns.test.com.  root.test.com (
                        20030314808033;serial
                        28800 ; refresh
                        7200 ; retry
                        604800 ; expire       
                        86400 ; ttl
                        )


        IN        NS        dns.test.com
        IN        MX        10        mail.test.com
        dns        IN        A        10.103.12.1
        www        IN        A        10.103.12.1
        mail        IN        A        10.103.12.1

//////////////12.103.10.zone

$TTL 86400
@        IN        SOA        dns.test.com.        root.test.com (
                        2003031750012333; serial
                        28800 ; refresh
                        7200 ; retry
                        604800 ; expire       
                        86400 ; ttk
                        )


IN        NS        dns.test.com.
1       IN      PTR     dns.test.com
1       IN      PTR        www.test.com.
1        IN        PTR        mail.test.com.



其他的文件都是用默认的

resolv.conf是没问题的

怎么不能正常工作啊!!?????????????????????????????????????????????????????
 楼主| 发表于 2003-3-15 13:22:18 | 显示全部楼层

解决了

解决了解决了解决了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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