error starting kresd (new install): network socket kind 'kresd.socket' not handled when opening ...
new install version 4.2.0-1
install procedure:
echo 'deb http://download.opensuse.org/repositories/home:/CZ-NIC:/knot-resolver-latest/Debian_10/ /' > /etc/apt/sources.list.d/home:CZ-NIC:knot-resolver-latest.list
wget -nv https://download.opensuse.org/repositories/home:CZ-NIC:knot-resolver-latest/Debian_10/ Release.key -O Release.key
apt-key add - < Release.key
apt-get update
apt-get install knot-resolver
apt-get install knot-resolver-module-http
kresd.conf:
modules = {
'hints > iterate', -- Load /etc/hosts and allow custom root hints
'stats', -- Track internal statistics
'predict', -- Prefetch expiring/frequent records
'http',
}
-- Cache size
cache.size = 100 * MB
net.listen('192.168.2.57', 8453, { kind = 'webmgmt' }) -- see http module
modules.load('prefill')
prefill.config({
['.'] = {
url = 'https://www.internic.net/domain/root.zone',
ca_file = '/etc/ssl/certs/ca-certificates.crt',
interval = 86400 -- seconds
}
})
hints.root({
['i.root-servers.net.'] = { '2001:7fe::53', '192.36.148.17' }
})
kresd.socket:
[Unit]
Description=Knot Resolver network listeners
Documentation=man:kresd.systemd(7)
Documentation=man:kresd(8)
Before=sockets.target
[Socket]
FreeBind=true
ListenDatagram=[fdaa:bbcc:ddee:2::5555]:5555
ListenStream=[fdaa:bbcc:ddee:2::5555]:5555
ListenDatagram=127.10.10.5:5555
ListenStream=127.10.10.5:5555
Service=kresd@1.service
Slice=system-kresd.slice
[Install]
WantedBy=sockets.target
error:
Starting Knot Resolver daemon...
**warning: network socket kind 'kresd.socket' not handled when opening '127.10.10.5#5555'. Likely causes: typo or not loading 'http' module.**
**warning: network socket kind 'kresd.socket' not handled when opening 'fdaa:bbcc:ddee:2::5555#5555'. Likely causes: typo or not loading 'http' module**
[http] created new ephemeral TLS certificate
Started Knot Resolver daemon.
[prefill] root zone file valid for 23 hours 35 minutes, reusing data from disk
[prefill] root zone successfully parsed, import started
[prefill] root zone refresh in 23 hours 35 minutes
Since the http module is loaded (see kresd.conf) it is suppose to be a typo, but I don't see anything wrong. Also tried the original config, using 127.0.0.1 and :: as IP addresses, no result. Really can't find the problem, thus asking if somethings wrong...