Skip to content

Commit b64a8df

Browse files
Disable consistent-backends pdns setting for geo records
1 parent eaafbff commit b64a8df

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

templates/pdns.conf.j2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,11 @@ geoip-database-files=mmdb:/usr/share/GeoIP/GeoLite2-City.mmdb;mode=mmap;language
1818
# EDNS Client Subnet for better geo-location accuracy
1919
edns-subnet-processing=yes
2020

21+
# Disable consistent-backends for location-based records
22+
# When enabled, PowerDNS uses ANY queries which cannot be cached correctly
23+
# for geo-routing responses with non-zero ECS scope
24+
consistent-backends=no
25+
2126
# Performance and caching settings
2227
cache-ttl=60
2328
negquery-cache-ttl=60

0 commit comments

Comments
 (0)