配置和报错:
pdns.conf
launch=gmysql
gmysql-host=127.0.0.1
gmysql-user=*********
gmysql-dbname=pdns
gmysql-password=*******
webserver=yes
webserver-address=127.0.0.1
webserver-allow-from=127.0.0.1
webserver-port=8081
api=yes
api-key=********
api-logfile=/var/log/pdns-api.log
config-dir=/etc/pdns
include-dir=/etc/pdns/pdns.d
guardian=yes
local-address=0.0.0.0
security-poll-suffix=
setgid=pdns
setuid=pdns
default-soa-name=ns1.***.com
default-soa-edit=INCEPTION-INCREMENT
default-soa-mail=hostmaster.***.com
default-ttl=600
daemon=yes
disable-axfr=no
distributor-threads=10
max-cache-entries=1000000
max-queue-length=5000
max-tcp-connections=10000
recursor=127.0.0.1:5300
allow-recursion=10.28.0.0/16
retrieval-threads=10
reuseport=yes
server-id=ns1.***.com
recursor.conf
setuid=pdns-recursor
setgid=pdns-recursor
forward-zones=.=223.5.5.5;114.114.114.114
local-address=0.0.0.0
local-port=5300
报错:
Apr 17 19:20:01 base3 pdns_server: Apr 17 19:20:01 Recursive query for remote 10.28.70.100:16733 with internal id 2 was not answered by backend within timeout, reusing id
Apr 17 19:20:04 base3 pdns_server: Apr 17 19:20:04 Recursive query for remote 10.28.80.11:49570 with internal id 3 was not answered by backend within timeout, reusing id
Apr 17 19:20:04 base3 pdns_server: Apr 17 19:20:04 Recursive query for remote 10.28.70.100:59774 with internal id 15 was not answered by backend within timeout, reusing id
Apr 17 19:20:06 base3 pdns_server: Apr 17 19:20:06 Recursive query for remote 10.28.43.11:27463 with internal id 4 was not answered by backend within timeout, reusing id
1
AstroProfundis 2017-04-17 20:44:34 +08:00
直接往本机 5300 查询有结果吗
|
2
mrco OP @AstroProfundis 可以的,也就是说 backend 的功能是正常的,但是 pdns 在将受到的递归查询转发到后端这期间,timeout 了,,,,
|
3
itsjoke 2017-04-17 21:22:38 +08:00 via iPhone
递归会受到国际网络因素影响
|