- 论坛徽章:
- 0
|
nslookup下输入www.baa6.com,提示:No Answer
我的named.conf文件如下:
logging {
channel default_syslog { syslog local2; severity error; };
channel audit_log { file "/var/log/named.log"; severity error; print-time yes; };
category default { default_syslog; };
category general { default_syslog; };
category security { audit_log; default_syslog; };
category config { default_syslog; };
category resolver { audit_log; };
category xfer-in { audit_log; };
category xfer-out { audit_log; };
category notify { audit_log; };
category client { audit_log; };
category network { audit_log; };
category update { audit_log; };
category queries { audit_log; };
category lame-servers { audit_log; };
};
options {
directory "/usr/local/named/etc/namedb";
listen-on-v6 { any; };
forwarders {
192.168.128.51;
};
dump-file "/usr/local/named/etc/named_dump.db";
};
zone "." {
type hint;
file "named.root";
};
zone "localhost" IN {
type master;
file "localhost.zone";
allow-update { none; };
};
zone "0.0.127.IN-ADDR.ARPA" {
type master;
file "localhost.rev";
allow-update { none; };
};
zone "baa.com" {
type master;
file "baa.com";
};
zone "baa6.com" {
type master;
file "baa6.com";
};
zone "3.0.2.0.8.a.d.0.1.0.0.2.IP6.ARPA" {
type master;
allow-transfer { any;};
allow-query { any; };
file "ipv6.rev";
};
文件baa6.com的内容如下:
$TTL 86400
@ IN SOA ns.baa6.com. root.baa6.com.(
2005030116; Serial
3600 ; Refresh
900 ; Retry
3600000 ; Expire
3600 ) ; Minimum
IN NS ns.baa6.com.
ns IN AAAA 2001:da8:203:1::1
www IN AAAA 2001:da8:203:1::10
文件ipv6.rev的内容如下:
$TTL 86400
@ IN SOA ns.baa6.com. root.baa6.com.(
2005030116; Serial
3600 ; Refresh
900 ; Retry
3600000 ; Expire
3600 ) ; Minimum
IN NS ns.baa6.com.
1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR ns.baa6.com.
10.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0 IN PTR www.baa6.com.
请高手指点.
[ 本帖最后由 chinaseen 于 2008-8-14 11:52 编辑 ] |
|