dns 求助 我快要跳楼了

由 navy 在 11-26-2002 18:09 发表:

dns 求助 我快要跳楼了

[root@localhost whj]# /etc/rc.d/init.d/named restart

停运 named:

启动 named: [ 确定 ]

[root@localhost whj]# nslookup sx.cx.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.1.12

Address: 192.168.1.12#53

** server can't find sx.cx.com: SERVFAIL

[root@localhost whj]# nslookup 192.168.1.12

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.1.12

Address: 192.168.1.12#53

** server can't find 12.1.168.192.in-addr.arpa: SERVFAIL

请大侠们帮忙看一看.redhat8.0 ip:192.168.1.12 msak 255.255.255.0

和其他的之间可以互相ping通

[root@localhost etc]# cat named.conf

// generated by named-bootconf.pl

options {

directory "/var/named";

// query-source address * port 53;

};

zone "." IN {

type hint;

file "named.ca";

};

zone "cx.com" IN {

type master;

file "named.hosts";

};

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

type master;

file "named.1.168.192";

};

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

type master;

file "named.local";

};

[root@localhost named]# ls

localhost.zone named.1.168.192 named.hosts named.localbak

named named.ca named.local

[root@localhost named]# cat named.1.168.192

@ IN SOA ns.cx.com. root.ns.cx.com. (

2002042302; serial

28800; refresh

14400; retry

3600000; expire

86400; minimu

)

IN NS ns.cx.com.

1 IN PTR ns.cx.com.

2 IN PTR ns1.cx.com.

[root@localhost named]# cat named.local

$TTL 86400

@ IN SOA ns.cx.com. root.ns.cx.com. (

@ IN SOA localhost. root.localhost. (

1997022700 ; Serial

28800 ; Refresh

14400 ; Retry

3600000 ; Expire

  1. ; Minimum

IN NS localhost.

IN NS ns.cx.com.

1 IN PTR localhost.

[root@localhost named]# cat named.hosts

@ IN SOA ns.cx.com. root.ns.cx.com. (

200

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