bind 9.2 正向解吸总是出错 反向正常

bind 9.2 正向解吸总是出错 反向正常

正向出错:connection timed out; no servers could be reached

named启动日志(应该正常的吧):

Dec  5 15:40:20 redhat named: named 启动 succeeded
Dec  5 15:40:20 redhat named[17394]: loading configuration from '/etc/named.conf'
Dec  5 15:40:20 redhat named[17394]: no IPv6 interfaces found
Dec  5 15:40:20 redhat named[17394]: listening on IPv4 interface lo, 127.0.0.1#53
Dec  5 15:40:20 redhat named[17394]: listening on IPv4 interface eth0, 192.168.22.181#53
Dec  5 15:40:20 redhat named[17394]: command channel listening on 127.0.0.1#953
Dec  5 15:40:20 redhat named[17394]: zone 0.0.127.in-addr.arpa/IN: loaded serial 1997022700
Dec  5 15:40:20 redhat named[17394]: zone 22.168.192.in-addr.arpa/IN: loaded serial 2006022301
Dec  5 15:40:20 redhat named[17394]: zone localhost/IN: loaded serial 42
Dec  5 15:40:20 redhat named[17394]: zone linux.zone/IN: loaded serial 2006021401
Dec  5 15:40:20 redhat named[17394]: running
Dec  5 15:40:20 redhat named[17394]: zone 22.168.192.in-addr.arpa/IN: sending notifies (serial 2006022301)


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 "linux.zone" IN {
       type master;
       file "linux.zone";
       allow-update{none;};
       };

zone "22.168.192.in-addr.arpa" IN {
      type master;
      file "192.168.22";
      allow-update{none;};
};
//include "/etc/rndc.key";

正向文件:

$TTL 86400

@ IN SOA linux.com. root.linux.com. (

2006021401

1H

15M

1W

1D
)

@ IN NS linux.com.

@ IN MX 10 linux.com.

@ IN A 192.168.22.181

www IN A 192.168.22.185

mail IN A 192.168.22.182

ftp IN A 192.168.22.183
自己顶顶
ziji ding
wo ziji  ding
把zone "linux.zone" IN 改为 zone "linux.com" IN试试