各位,我在用Fedora 8设置dns服务器时,总是出现这样的问题
而我的具体配置文件如下:
1、named.rfc1912
// named.rfc1912.zones:
//
// Provided by Red Hat caching-nameserver package
//
// ISC BIND named zone configuration for zones recommended by
// RFC 1912 section 4.1 : localhost TLDs and address zones
// and http://www.ietf.org/internet-drafts/draft-ietf-dnsop-default-local-zones-02.txt
// (c)2007 R W Franks
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
zone "localhost.localdomain" IN {
type master;
file "named.localhost";
allow-update { none; };
};
zone "localhost" IN {
type master;
file "named.localhost";
allow-update { none; };
};
//zone "1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa" IN {
// type master;
// file "named.loopback";
// allow-update { none; };
//};
zone "1.0.0.127.in-addr.arpa" IN {
type master;
file "named.loopback";
allow-update { none; };
};
zone "0.in-addr.arpa" IN {
type master;
file "named.empty";
allow-update { none; };
};
zone "abc.com" IN{
type master;
file "abc.com.zone";
};
zone "128.200.10.in-addr.arpa" IN {
type master;
file "128.200.10.zone";
allow-update{none;};
};
2\named.conf
//
// named.caching-nameserver.conf
//
// Provided by Red Hat caching-nameserver package to configure the
// ISC BIND named(8) DNS server as a caching only nameserver
// (as a localhost DNS resolver only).
//
// See /usr/share/doc/bind*/sample/ for example named configuration files.
//
// DO NOT EDIT THIS FILE - use system-config-bind or an editor
// to create named.conf - edits to this file will be lost on
// caching-nameserver package upgrade.
//
options {
listen-on port 53 {10.200.128.220; };
listen-on-v6 port 53 { any; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { 10.200.128.220; };
recursion yes;
};
logging {
channel default_debug {
file "data/named.run";
severity dynamic;
};
};
zone "." IN {
type hint;
file "named.ca";
};
include "/etc/named.rfc1912.zones";
3,abc.com.zone
$TTL 1D
@ IN SOA www.abc.com. root (
42 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
IN NS www.abc.com.
@ IN A 10.200.128.220
www IN A 10.200.128.220
4\128.200.10.zone
$TTL 1D
@ IN SOA www.abc.com. root. (
42 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
@ IN NS www.abc.com.
220 IN PTR www.abc.com.
不知我的配置哪里有问题,请大家指点一下


jack_xuwei 于 2009-06-23 17:25:06发表:
我一直 配的 啊 没有问题
allow-query { 10.200.128.220; };
allow-query { any; };
bibay 于 2009-06-23 16:24:02发表:
我也配了一整天的DNS都没成功哦!!~~希望高手快过来~~(6)m:b
sonr 于 2009-04-16 18:15:03发表:
不懂这个,帮UP