-
|
Hi, I’d like to ask whether there is currently an equivalent of outgoing.edns_subnet_allow_list, but as a blacklist (for example outgoing.edns_subnet_blacklist) to disable ECS on selected domains or in a better way on a selected authoritative server. I’m currently running: pdns_recursor --version
PowerDNS Recursor 5.3.6 (C) PowerDNS.COM BV
Using 64-bits mode. Built using clang 18.1.3 (1ubuntu1) on Apr 7 2026 08:50:14 by root@localhost.
PowerDNS comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2.
Features: libcrypto-ecdsa libcrypto-ed25519 libcrypto-ed448 libcrypto-eddsa lua nod protobuf dnstap-framestream snmp sodium curl DoT scrypt
Configured with: "-Dpython.bytecompile=-1 -Db_lto=true -Db_lto_mode=thin -Db_pie=true -Dhardening-fortify-source=disabled -Dunit-tests=true -Ddns-over-tls=enabled -Ddnstap=enabled -Dlibcap=enabled -Dsigners-libsodium=enabled -Dsnmp=enabled -Dnod=enabled -Dsystemd-service=enabled -Dsystemd-service-user=pdns -Dsystemd-service-group=pdns -Dlua=luajit -Dprefix=/usr -Dlibdir=lib/x86_64-linux-gnu -Dlibexecdir=lib/x86_64-linux-gnu -Dlocalstatedir=/var -Dsysconfdir=/etc/powerdns -Dbuildtype=plain -Dwrap_mode=nodownload"And dnsdist in front of the recursor I’m using ECS and generally want to keep it enabled. However, I’m seeing issues with a small number of authoritative servers that don’t handle ECS correctly. They respond with SERVFAIL / FORMERR when ECS is present. For those domains, I would prefer to stop sending ECS requests entirely. Why a blacklist would help At the moment, outgoing.edns_subnet_allow_list works well if you want ECS enabled only for selected domains. In my case the opposite would be much easier: ECS should remain enabled globally Only 2 authoritative servers are causing issues in my environment. Maintaining a blacklist for those few domains would be much simpler than building and maintaining an allow-list covering thousands of domains. Questions Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
|
This is usually not what one want, as discussed in #15811 |
Beta Was this translation helpful? Give feedback.
Yeah, I can understand that. I guess you could try the patch from #15811 as I don't really have a good option for you. A desperate move would be to set up a secondary for the affected zones and use a forward rule to route queries to them.
I'm not aware of any modern DNS server choking on these, but there is still a lot of ancient crap on the internet. Perhaps try to get the software and version they are running with a CHAOS bind.version TXT query?