centos 配置bind9.8 dns 反向解析問題: php
nslookup 192.88.50.151
Server: 127.0.0.1
Address: 127.0.0.1#53
**server can't find 151.50.88.192.in-addr.arpa.: NXDOMAIN centos
50.88.192.zone
$TTL 86400
@ IN SOA dns.test.com. root.test.com. (
20130509 ; serial
1D ; refresh
1H ; retry
1W ; expire
3H ) ; minimum
@ IN NS dns.test.com.
dns IN A 192.88.50.151
200 IN PTR dns.test.com. google
這個配置怎麼看怎麼都沒有問題,但是就是報錯 spa
cat /etc/resolv.conf
; generated by /sbin/dhclient-script
search test.com
nameserver 127.0.0.1 orm
折騰,反覆折騰,通過1天多實踐的奮鬥。最後在萬能的google 幫助下,看到 https://www.centos.org/modules/newbb/print.php?form=1&topic_id=41586&forum=58&order=DESC&start=0這裏面的內容 server
在文件里加入: dns
151.50.88.192.in-addr.arpa. IN PTR dns.test.com ip
這行就OK了。唉,新版本的變化也太大了點。