[DNS] 帮帮忙啊
各位大虾:
小弟准备配一个dns服务器,在局域网中使用,机器配置是 solaris 8 dns 服务器用solaris 8自带的bind,可是配好之后 在用nslookup测试的时候,总是出现如下错误:
Can't find server name for address 172.16.200.211: Server failed
Default servers are not available
请问是何原因阿?
我的各个文件配置如下:
/etc/hosts:
127.0.0.1 localhost
172.16.200.211 netwlab
/etc/resolv.conf
nameserver 172.16.200.211
/etc/named.conf
option {
directory "/var/named";
pid-file "named.pid";
zone "." IN {
type hint;
file "named.ca";
};
zone "ce-air.com" IN {
type master;
file "ip2name.zone";
notify no;
};
zone "0.0.127.in-addr.arpa" {
type master;
file "localhost.rev";
notify no;
};
/var/named/ip2name.zone
$TTL 86400
@ IN SOA netwlab.xxx.com. root.netwlab.xxx.com. {
991226009
10800
3600
3600000
3600 }
@ IN NS netwlab.xxx.com
@ IN MX 10 mail.xxx.com
localhost IN A 127.0.0.1
netwlab IN A 172.16.200.211
mail IN A 172.16.2.15
/var/named/localhost.rev
$TTL 3600
@ IN SOA netwlab.xxx.com. root.netwlab.xxx.com.{
1;
3600;
900;
3600000;
3600;
};
IN NS netwlab.xxx.com.
IN A 127.0.0.1
1 IN PTR localhost.
请各位大虾不吝赐教
...全文


其他技术讨论专区

