帮我看看DNS有没配好啊!急~~~~~`

由 魔人普乌 在 05-17-2003 20:38 发表:

帮我看看DNS有没配好啊!急~~~~~`

小弟配好了DNS 可是解析不出来。各位大哥帮我看一下。谢谢谢谢

我的主机名是:GBB988 IP地址: 192.168.0.12 Primary nameserver:192.168.0.12

[root@BGG988 root]# nslookup www.arkai.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: 192.168.0.12

Address: 192.168.0.12#53

** server can't find www.arkai.com: SERVFAIL

[root@BGG988 root]# nslookup GBB988.arkai.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: 192.168.0.12

Address: 192.168.0.12#53

** server can't find GBB988.arkai.com: SERVFAIL

[root@BGG988 root]# ping www.arkai.com

ping: unknown host www.arkai.com

[root@BGG988 root]# cd /var/named

[root@BGG988 named]# ls

localhost.zone named.ca named.local

[root@BGG988 named]#

――――named.conf文件――――

// generated by named-bootconf.pl

options {

directory "/var/named";

/*

  • 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;

};

//

// a caching only nameserver config

//

controls {

inet 127.0.0.1 allow { localhost; } keys { rndckey; };

};

zone "." IN {

type hint;

file "named.ca";

};

zone "localhost" IN {

type master;

file "localhost.zone";

allow-update { none; };

};

zone "0.0.127.in-addr.arpa" IN {

type master;

file "named.local";

allow-update { none; };

};

zone "0.168.192.in-addr.arpa" IN {

type master;

file "named.arkai.com";

allow-update { none; };

};

zone "arkai.com" IN {

type master;

file "arkai.com.zone";

allow-update { none; };

};

include "/etc/rndc.key";

――――resolv.conf――――

domain arkai.com

nameserver 192.168.0.12

――――named.local――――

$TTL 86400

IN SOA ocalhost. root.localhost. (

1997022700 ; Serial

28800 ; Refresh

14400 ; Retry

3600000 ; Expire

86400 ) ; Minimum

IN NS localhost.

www IN A 192.168.0.2

ftp IN A 192.168.0.3

mail IN A 192.168.0.5

1 IN PTR localhost.


由 魔人普乌 在 05-18-2003 08:02 发表:


各位大哥帮帮忙啊 急~~~


由 lin_lin13 在 05-18-2003 10:43 发表:


arkai.com.zone 这个文件是怎麽配置的?


由 魔人普乌 在 05-18-2003 16:45 发表:


up


由 魔人普乌 在 05-18-2003 19:16 发表:


[root@BGG988 root]# cd /var/named

[root@BGG988 named]# ls

arkai.com.zone named.arkai.com named.ca name.local

[root@BGG988 named]#

文件named.arkai.com

——————————————————————————————

$TTL 86400

IN SOA ocalhost

Published At
Categories with 服务器类
Tagged with
comments powered by Disqus