dns/knot-resolver: Apply maintainer's cleanup
This also fixes the kresd.conf @sample, prefer the maintainer's
approach in the cleanup patch that arrived after d94ae2c3c666
PR: 254765
Approved by: Leo Vandewoestijne <freebsd@dns.company> (maintainer)