Dear Knot Resolver users,
Is it possible to create a view with more than one policie?
If I do for example something like this:
view:addr('192.168.1.0/24',
policy.suffix(
policy.PASS,
policy.todnames({'good.com','better.com','best.com'})
)
)
view:addr('192.168.1.0/24',
policy.suffix(
policy.REFUSE,{todname('bad.com')}
)
)
Knot resolver will obey only the first view and users will be able to resolve the
bad.com
domain ... obviously the first view is the match and no other views are considered
afterwards ...
Without multiple policies views are pretty much useless so I believe that I must be doing
something wrong here so could anybody help me on this ...
Best regards,
Bratislav ILIC