[Pdns-users] pdns recursor forward zone to consul

Peter van Dijk peter.van.dijk at powerdns.com
Fri Aug 9 14:37:39 UTC 2024


On Tue, 2024-08-06 at 09:30 +0200, Prochazka via Pdns-users wrote:
> Hi,
> 
> i set forward-zone for consul domain in the recursor, but queries fail.
> 
> Tested consul nodes are 192.168.200.205-207.
> Tested patroni nodes (vith consul agent) are 192.168.200.201-202, 
> current master is test-patroni-02.sub.domain.tld (.202)
> Tested recursor node 192.168.200.55
> 
> Working query via dnsmasq (local) test-patroni-01 node:
> 
> Pdns-recursor config snippet:
> ...
> forward-zones+=...
> forward-zones+=...
> forward-zones+=...
> forward-zones+=consul=192.168.200.205:8600;192.168.200.206:8600;192.168.200.207:8600 
> #tryied with forward-zones-recure too
> 
> Failing query via pdns-recursor, client to pdns:
> 09:00:28.995582 IP 192.168.200.201.39364 > 192.168.200.55.domain: 62027+ 
> [1au] A? master.testcluster.service.consul. (74)
> 09:00:30.980241 IP 192.168.200.55.domain > 192.168.200.201.39364: 62027 
> ServFail 0/0/1 (62)

Please read the IMPORTANT note at
https://doc.powerdns.com/recursor/settings.html?highlight=forward#forward-zones
and see if it helps.

Kind regards,
-- 
Peter van Dijk
PowerDNS.com B.V. - https://www.powerdns.com/


More information about the Pdns-users mailing list