- 论坛徽章:
- 0
|
主机名为linux OS RH9
实现目地 做一个域名为 www.test.com
named.conf
....
...
zone "test.com" IN {
type master;
file "named.hosts;
};
zone "100.168.192.in-addr.arpa" IN {
type master;
file "named.rev";
};
named.hosts
@ IN SOA linux.test.com. root.linux.test.com. (
42
3h
15m
1w
1D
)
IN NS linux.test.com.
linux IN A 192.168.100.1
www IN A192.168.100.2
named.rev
@ IN SOA linux.test.com. root.linux.test.com. (
42
3h
15m
1w
1D
)
IN NS linux.test.com.
1 IN PTR linux.test.com.
2 IN PTR www.test.com.
resolv.conf
search test.com
nameserver 192.168.100.1
用NSLOOKUP的时候,现在以下提示
>;www.test.com
server:192.168.100.1
address:192.168.100.1#53
**** server can,t find www.test.com:SERVFAIL
>;>;test.com
server:192.168.100.1
address:192.168.100.1#53
**** server can,t find test.com:SERVFAIL
不知道是什么原因,请DX指点!
反向解析没有问题。 |
|