LinuxSir.cn,穿越时空的Linuxsir!

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

配置dns失败,日志如下。。。。

[复制链接]
发表于 2004-7-24 13:22:10 | 显示全部楼层 |阅读模式
配置dns后,/var/log/messages出现如下错误:Jul 24 05:17:42 localhost named[5799]: client 192.1.1.210#33008: bad zone transfer request: 'domain.example.com/IN': non-authoritative zone (NOTAUTH)

各配置文件经检查都没有错误,dig没问题,但host失败,错误如下:Host station.domain.example.com not found: 3(NXDOMAIN)


请高手指教
发表于 2004-7-24 14:58:14 | 显示全部楼层
配置文件贴出来
 楼主| 发表于 2004-7-24 18:48:00 | 显示全部楼层
named.conf

// generated by named-bootconf.pl
//
// a caching only nameserver config
//
options {
        /*
         * 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;
        directory "/var/named";
};
controls {
        inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
zone "." {
        type hint;
        file "named.ca";
};
zone "localhost" {
        allow-update { none; };
        type master;
        file "localhost.zone";
};
zone "0.0.127.in-addr.arpa" {
        allow-update { none; };
        type master;
        file "named.local";
};
zone "domain.example.com" {
        type master;
        file "domain.example.com.zone";
};
zone "210.1.1.192.in-addr.arpa" {
        type master;
        file "192.1.1.210.zone";
};
include  "/etc/rndc.key";
 楼主| 发表于 2004-7-24 18:49:01 | 显示全部楼层
192.1.1.210

$TTL 86400
@       IN      SOA     station.domain.example.com.     root.station.domain.example.com.        (
                                5 ; serial
                                28800 ; refresh
                                7200 ; retry
                                604800 ; expire
                                86400 ; ttl
                                )
                                                                                
                                                                                
                                                                                
        IN      NS      station.domain.example.com.
210.1.1.192.in-addr.arpa. PTR station.domain.example.com.
 楼主| 发表于 2004-7-24 18:49:58 | 显示全部楼层
domain.example.com.zone

$TTL 86400
@       IN      SOA     station.domain.example.com.     root.station.domain.example.com.        (
                                5 ; serial
                                28800 ; refresh
                                7200 ; retry
                                604800 ; expire
                                86400 ; ttl
                                )
                                                                                
                                                                                
                                                                                
@       IN      NS      station.domain.example.com.
                                                                                
station.domain.example.com IN A 192.1.1.210
www     IN      A       192.1.1.210
pop     IN      A       192.1.1.210
imap    IN      A       192.1.1.210
www1    IN      CNAME   station.domain.example.com.
www2    IN      CNAME   station.domain.example.com.
                                                                                
@       IN      MX      10      station.domain.example.com.
domain.example.com      IN      MX      10      station.domain.example.com.
发表于 2004-7-24 19:07:05 | 显示全部楼层
你的IP是公网的话可以开SSH
我可以上去帮你配置
 楼主| 发表于 2004-7-24 19:33:37 | 显示全部楼层
谢谢,兄弟
我现在只能在本机上调试
是因为这个关系,host才不行么?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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