On 17.04.24 08:52, Jacob Bunk Nielsen via dnsdist wrote:
Andreas Wili via dnsdist <dnsdist@mailman.powerdns.com> writes:

Now, there are two servers on the network for which all DNS queries must
not be cached.

Ahh, then you just do:

no_cache_ips = newNMG()

-- IPs of servers that shouldn't use the cache
no_cache_ips:addMask('192.0.2.1/32')
no_cache_ips:addMask('192.0.2.8/32')

addAction(NetmaskGroupRule(no_cache_ips, true), SetSkipCacheAction())

Best regards,
Jacob
_______________________________________________
dnsdist mailing list
dnsdist@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist
Perfect, thank you very much. It works as desired now.

Best regards,
Andreas
_______________________________________________
dnsdist mailing list
dnsdist@mailman.powerdns.com
https://mailman.powerdns.com/mailman/listinfo/dnsdist

Reply via email to