Hello Anand,
Thanks for your reply!
On 26/06/2020 22:12, Anand Buddhdev wrote:
On 26/06/2020 19:27, pioruns2019(a)gmx.com wrote:
Hi pioruns,
You need net.listen('192.168.1.44') to make Knot listen on the LAN
interface. It will then receive queries and answer them. You should not
need any more configuration.
Actually, I finally found correct information and fixed it. Info I was
looking for was in kresd.systemd(7) manual. I just wish it would be in
online manual
https://knot-resolver.readthedocs.io/ which I approached
first, but there was nothing there, and on systemd OSes putting network
declaration doesn't work because it doesn't have privileges to listen to
a port.
So, accordining to manual, in systemd OSes, *nothing* needs to be
written in kresd.conf (regarding network). Instead, I put:
[Socket]
ListenStream=192.168.1.44:53
ListenDatagram=192.168.1.44:53
via systemctl edit kresd.socket. And it works :)