|
小弟配好了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. |
|