这个可就操蛋了.
#listen-address=172.16.72.34,
127.0.0.1
#bind-interfaces
addn
-hosts=/etc/hosts2
all-servers
cache-size=10000
no
-negcache
server
=1.1.1.12
log-queries
log-facility=/
var/
log/dnsmasq
strict
-order
#local=/localdomain
/
xxx zk1 zk1
.localdomain
经过查看日志, 我们手工测试的时候,会自动的带上localdomain这个域名,这个就操蛋了
最后问题得意解决,而且发现PTR采用这种方式也是可以用的.
转载请注明原文地址: https://ju.6miu.com/read-3893.html