]> git.ipfire.org Git - thirdparty/knot-resolver.git/commit
policy.rpz: fix $ORIGIN-related handling
authorVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 30 Jun 2020 12:37:12 +0000 (14:37 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Tue, 30 Jun 2020 14:19:36 +0000 (16:19 +0200)
commitf78fea28f4df3aa0be4940db10eb8ab791c80da7
treeff5a158016bea9812e60a6deac496e8afdd9608b
parent9a96d514c945d0aa147d83766f2fa33b41860ecd
policy.rpz: fix $ORIGIN-related handling

- use parser-detected $ORIGIN instead of looking at SOA owner
- skip records outside $ORIGIN (and warn) instead of nesting them
- simplify a bit, and tweak warnings
modules/policy/policy.lua
modules/policy/policy.test.rpz