LinuxSir.cn,穿越时空的Linuxsir!

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

我的DNS 不成功啊!大家帮忙看一下错在哪里,教一下我应该怎样改吧!

[复制链接]
发表于 2003-7-24 11:11:53 | 显示全部楼层 |阅读模式
Jul 24 10:50:39 rhserver named[4373]: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
Jul 24 10:50:39 rhserver named[4373]: zone 1.168.192.in-addr.arpa/IN: has no NS records
Jul 24 10:50:39 rhserver named[4373]: zone **.com.gz/IN: loaded serial 1997022700
Jul 24 10:50:39 rhserver named[4373]: zone localhost/IN: loaded serial 42

我的named.conf
// generated by named-bootconf.pl

options {
        directory "/var/named";
       //listen-on [192.168.1.1_53]
        /*
         * 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;_____(这句应该是ip绑定端口吧?应该点用的?我试过把*改成IP地址,不过是不行的,一样对两面张网卡都打开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 "jiabao.com.gz" IN {
        type master;
        file "named.**.com";
};

zone "1.168.192.in-addr.arpa" IN {
        type master;
        file "ip2named.**.com";
};
include "/etc/rndc.key";

我的named.**.com

$TTL   86400
$ORIGIN **.com.gz.
@ IN SOA **.com.gz. root.**.com.gz.  (

1997022700 ; Serial
28800       ; Refresh
14400       ; Retry
3600000     ; Expire
86400       ; Minimum
)
     IN       NS           **.com.gz.
     IN       MX   10 mail.**.com.gz.
localhost    IN    A     127.0.0.1
**.com.gz   IN    A     192.168.1.1
www          IN    A     192.168.1.1
dns          IN    A     192.168.1.1
mail         IN    A     192.168.1.1
pop3         IN    A     192.168.1.1
smtp         IN    A     192.168.1.1
@            IN    A     192.168.1.1
我的named.**.com 我的named.**.com



还有我的ip2named.**.com


$TTL    86400
@ IN SOA **.com.gz. root.**.com.gz.  (
1997022700 ; Serial
28800      ; Refresh
14400      ; Retry
3600000    ; Expire
86400  )   ; Minimum

IN    NS   jiabao.com.gz.
IN    MX   10 mail.**.com.gz.
1     IN    PTR   **.com.gz.
还有我的ip2named.**.com 还有我的ip2named.**.com
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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