po 20. 2. 2023 o 9:35 Vladimír Čunát <vladimir.cunat(a)nic.cz> napísal(a):
You can pass true as the third parameter to match by
the destination address instead of the source address.
I tried it.
view:addr('109.236.120.2', policy.domains(DDR_SVCB,
policy.todnames({'_dns.resolver.arpa'})), true)
and it never fires. Even with 0.0.0.0/0. Below this command I have
more view:addr policies to filter on src address. Can it conflicts?
Why
https://github.com/CZ-NIC/knot-resolver/blob/c8cb9740f8ebd34219c7d860106969…
tests addr and dst_addr as "if ... elseif"?