[dnsdist] force backend lookup for specific query name
Remi Gacogne
remi.gacogne at powerdns.com
Sat Jun 26 09:42:18 UTC 2021
On 6/26/21 8:09 AM, Eldon Koyle via dnsdist wrote:
>> Is there any “easy” way to basically disable the packetcache for
>> specific query names (ideally wildcarding the domain part of it),
>> so it always causes a query to the backend/upstream servers?
>>
>
> I'm not sure if this is the best way, but you could create another
> pool (https://dnsdist.org/guides/serverpools.html) with the same
> upstream servers but without a packetcache, then add a rule like the
> following (this is untested):
>
> addAction(RE2Rule("_acme-challenge\..*"),
> PoolAction("uncached_pool"))
>
Or use SkipCacheAction [1].
[1]: https://dnsdist.org/rules-actions.html?#SetSkipCacheAction
--
Remi Gacogne
PowerDNS.COM BV - https://www.powerdns.com/
More information about the dnsdist
mailing list