Why https://github.com/CZ-NIC/knot-resolver/blob/c8cb9740f8ebd34219c7d860106969fcbb6c7bf6/modules/view/view.lua#L73 tests addr and dst_addr as "if ... elseif"?
Right, thanks! That really is a non-sense, as I believe this
elseif could never succeed. Fixup:
https://gitlab.nic.cz/knot/knot-resolver/-/commit/982162956aaa1d2e85bc3e35dca663b3566943a8
Below this command I have more view:addr policies to filter on src address. Can it conflicts?
So after that fix it can still conflict. As the semantics was intended, all source-based view:addr rules are tried first. So if they trigger a non-chain action for a particular request from client, no other view rule will be tried.
--Vladimir