- 论坛徽章:
- 0
|
恩 我发全点 帮我检查下吧
#/etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 test localhost.localdomain localhost
192.168.1.111 server.test.net
#/etc/resolv.conf
nameserver 192.168.1.111
nameserver 192.168.1.17
nameserver 61.177.7.1
#/etc/named.conf
zone "test.net" IN {
type master;
file "test.net.zone";
};
zone "1.168.192.in-addr.arpa" IN {
type master;
file "192.168.1.111.zone";
};
#/var/named/choort/var/named/test.net.zone
$TTL 86400
@ IN SOA server.test.net. root.test.net. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS server.test.net.
IN MX 10 mail.test.net.
server IN A 192.168.1.111
mail IN A 192.168.1.111
#/var/named/choort/var/named192.168.1.111.zone
$TTL 86400
@ IN SOA server.test.net. root.test.net. (
42 ; serial (d. adams)
3H ; refresh
15M ; retry
1W ; expiry
1D ) ; minimum
IN NS server.test.net.
IN MX 10 mail.test.net.
111 IN PTR server.test.net.
111 IN PTR mail.test.net.
#nslookup
> mail.test.net
Server: 192.168.1.111
Address: 192.168.1.111#53
Name: mail.test.net
Address: 192.168.1.111
>server.test.net
Server: 192.168.1.111
Address: 192.168.1.111#53
Name: server.test.net
Address: 192.168.1.111
> 192.168.1.111
Server: 192.168.1.111
Address: 192.168.1.111#53
111.1.168.192.in-addr.arpa name = mail.test.net.
111.1.168.192.in-addr.arpa name = server.test.net.
> test.net
Server: 192.168.1.111
Address: 192.168.1.111#53
*** Can't find test.net: No answer
我想问的是 为什么test.net域名不能用 是我在 ZONE文件里面没加吗
我在test.net.zone里面加test IN MX 10 test.net.
NSLOOKUP下还是
test.net
Server: 192.168.1.111
Address: 192.168.1.111#53
*** Can't find test.net: No answer
我现在思想有点混乱 请多指教
我要的是内网可以能解析到这test.net域名 |
|