Dear Knot Resolver users,
Knot Resolver 3.0.0 has been released.
Incompatible changes
--------------------
- cache: fail lua operations if cache isn't open yet (!639)
By default cache is opened *after* reading the configuration,
and older versions were silently ignoring cache operations.
Valid configuration must open cache using `cache.open()` or
`cache.size =` before executing cache operations like `cache.clear()`.
- libknot >= 2.7.1 is required, which brings also larger API changes
- in case you wrote custom Lua modules, please consult
https://knot-resolver.readthedocs.io/en/latest/lib.html#incompatible-change…
- in case you wrote custom C modules, please see compile against
Knot DNS 2.7 and adjust your module according to messages from C
compiler
- DNS cookie module (RFC 7873) is not available in this release,
it will be later reworked to reflect development in IEFT dnsop working
group
- version module was permanently removed because it was not really used
by users; if you want to receive notifications about new releases
please subscribe to
https://lists.nic.cz/cgi-bin/mailman/listinfo/knot-resolver-announce
Bugfixes
--------
- fix multi-process race condition in trust anchor maintenance (!643)
- ta_sentinel: also consider static trust anchors not managed via
RFC 5011
Improvements
------------
- reorder_RR() implementation is brought back
- bring in performace improvements provided by libknot 2.7
- cache.clear() has a new, more powerful API
- cache documentation was improved
- old name "Knot DNS Resolver" is replaced by unambiguous "Knot
Resolver" to prevent confusion with "Knot DNS" authoritative server
Full changelog:
https://gitlab.labs.nic.cz/knot/knot-resolver/raw/v3.0.0/NEWS
Sources:
https://secure.nic.cz/files/knot-resolver/knot-resolver-3.0.0.tar.xz
GPG signature:
https://secure.nic.cz/files/knot-resolver/knot-resolver-3.0.0.tar.xz.asc
Documentation:
https://knot-resolver.readthedocs.io/en/v3.0.0/
--
Tomas Krizek
PGP: 4A8B A48C 2AED 933B D495 C509 A1FB A5F7 EF8C 4869
Hello,
I set config as below, but an error is output at some timing.
Although it is an error message related to policy.lua, reading the document does not know the cause.
"""
error: /usr/local/lib/kdns_modules/policy.lua:526: attempt to call local 'action' (a table value)
error: /usr/local/lib/kdns_modules/policy.lua:526: attempt to call local 'action' (a table value)
error: /usr/local/lib/kdns_modules/policy.lua:526: attempt to call local 'action' (a table value)
error: /usr/local/lib/kdns_modules/policy.lua:526: attempt to call local 'action' (a table value)
"""
"""
net.listen(net.eth0, 53, false)
-- Load Useful modules
modules = {
'policy', -- Block queries to local zones/bad sites
'view', -- Views for certain clients
'hints > iterate', -- Hints AFTER iterate
'priming', -- Initializing a DNS Resolver with Priming Queries implemented according.
'detect_time_skew', -- System time skew detector
'detect_time_jump', -- Detect discontinuous jumps in the system time
'daf',
predict = {
window = 180, -- 180 minutes sampling window
period = 24*(60/15) -- track last 24 hours
},
'bogus_log',
}
modules.list() -- Check module call order
-- stub forward
policy.add(policy.suffix(policy.PASS({'192.168.1.3@10053', '192.168.1.4@10053'}), {todname('kometch.private')}))
policy.add(policy.suffix(policy.PASS({'192.168.1.3@10053', '192.168.1.4@10053'}), {todname('168.192.in-addr.arpa') }))
--forward policy
policy.add(policy.all(policy.FORWARD({'1.1.1.1', '1.0.0.1'})))
policy.del(0)
"""
Would you please advise me?
Best regards.
Hello,
Since version 2.4.1, have the version module been deleted?
I confirmed NEWS, but I could not find a sentence to mention that the "version" module was deleted.
https://gitlab.labs.nic.cz/knot/knot-resolver/blob/master/NEWS
I have confirmed that it has been deleted from Gitlab.
Best regards.