]> granicus.if.org Git - pdns/commit
rec: Use the incoming ECS for cache lookup if `use-incoming-edns-subnet` is set
authorRemi Gacogne <remi.gacogne@powerdns.com>
Wed, 14 Jun 2017 11:31:18 +0000 (13:31 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 27 Jun 2017 12:43:58 +0000 (14:43 +0200)
commit5736e55e0d2d8cd9a064b8377e87d08a540cb1b1
treee1fdf2509a96b7871deed8d8882fe03ac29004c7
parent4a6b1b4f4e8a6c1db1e8e2610643bb935cd98710
rec: Use the incoming ECS for cache lookup if `use-incoming-edns-subnet` is set

Otherwise we insert into the cache based on the incoming ECS but
later do the lookup based on the query's source IP.
pdns/syncres.cc
pdns/syncres.hh