由 天地无限 在 07-24-2004 13:22 发表:
配置dns失败,日志如下。。。。
配置dns后,/var/log/messages出现如下错误:Jul 24 05:17:42 localhost named[5799]: client 192.1.1.210#33008: bad zone transfer request: 'domain.andsky.com/IN': non-authoritative zone (NOTAUTH)
各配置文件经检查都没有错误,dig没问题,但host失败,错误如下:Host station.domain.andsky.com not found: 3(NXDOMAIN)
请高手指教
华山奇出,虹雨滋松,千崖云渡。少年穿梭垂瀑,心曲通,冲灵剑舞。
月畔笑扑流萤,嬉游共朝暮。
多少事,年华一瞬,依依梦里无寻处。山廓酒肆淡如图,
福建行,未识愁将驻。辟邪颠倒江湖,风云怒,狂
由 Snoopy 在 07-24-2004 14:58 发表:
配置文件贴出来
And then in the evening light, when the bars of freedom fall
I watch the two of you in the shadows on the wall
How in the darkness steals some of the choices from my hand
Then will I begin to under
由 天地无限 在 07-24-2004 18:48 发表:
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.andsky.com" {
type master;
file "domain.andsky.com.zone";
};
zone "210.1.1.192.in-addr.arpa" {
type master;
file "192.1.1.210.zone";
};
include "/etc/rndc.key";
华山奇出,虹雨滋松,千崖云渡。少年穿梭垂瀑,心曲通,冲灵剑舞。
月畔笑扑流萤,嬉游共朝暮。
多少事,年华一瞬,依依梦里无寻处。山廓酒肆淡如图,
福建行,未识愁将驻。辟邪颠倒江湖,风云怒,狂
由 天地无限 在 07-24-2004 18:49 发表:
192.1.1.210
$TTL 86400
@ IN SOA station.domain.andsky.com. root.station.domain.andsky.com. (
5 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttl
)
IN NS station.domain.andsky.com.
210.1.1.192.in-addr.arpa. PTR station.domain.andsky.com.
华山奇出,虹雨滋松,千崖云渡。少年穿梭垂瀑,心曲通,冲灵剑舞。
月畔笑扑流萤,嬉游共朝暮。
多少事,年华一瞬,依依梦里无寻处。山廓酒肆淡如图,
福建行,未识愁将驻。辟邪颠倒江湖,风云怒,狂
由 天地无限 在 07-24-2004 18:49 发表:
domain.andsky.com.zone
$TTL 86400
@ IN SOA station.domain.andsky.com. root.station.domain.andsky.com. (
5 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttl
)