|
|
各位老大:
看了这么多dns 架设的文章,采用了他们的 方法.但是自己就是没有成功.各位给我看 看: 计算机名darkmanfyb IP:192.168.1.20
named.conf文件
## named.conf - configuration for bind
#
# Generated automatically by redhat-config-bind, alchemist et al.
# Any changes not supported by redhat-config-bind should be put
# in /etc/named.custom
#
controls {
inet 127.0.0.1 allow { localhost; } keys { rndckey; };
};
include "/etc/named.custom";
include "/etc/rndc.key";
zone "0.0.127.in-addr.arpa" {
type master;
file "0.0.127.in-addr.arpa.zone";
};
zone "1.168.192.in-addr.arpa" {
type master;
file "1.168.192.in-addr.arpa.zone";
};
zone "localhost" {
type master;
file "localhost.zone";
};
zone "fengxue123.com" {
type master;
file "fengxue123.com.zone";
};
fengxue123.com.zone文件
$TTL 86400
@ IN SOA darkmanfyb. root.localhost (
3 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttl
)
IN NS 192.168.1.20
IN NS www.fengxue123.com.
www.fengxue123.com IN A 192.168.1.20
1.168.192.in-addr.arpa.zone 文件
$TTL 86400
@ IN SOA darkmanfyb. root.localhost (
4 ; serial
28800 ; refresh
7200 ; retry
604800 ; expire
86400 ; ttk
)
@ IN NS www.fengxue123.com.
20 IN PTR www.fengxue123.com.
用nsllooukp www.fengxue123.com
结果是Note: nslookup is deprecated and may be removed from future releases.
Consider using the `dig' or `host' programs instead. Run nslookup with
the `-sil[ent]' option to prevent this message from appearing.
Server: 202.96.209.5
Address: 202.96.209.5#53
** server can't find www.fengxue123.com: NXDOMAIN
大家给看看,谢谢 |
|