On 9/2/19 3:00 PM, Milan Jeskynka Kazatel wrote:
if I understand your hint correctly, then I should
change in the
config file a variable from hints.add_hosts([path])
to hints.config([path]) because it does the same things + reload hints.
No, changing the config isn't needed (and won't help). The hints.config
command clears all hints and loads new ones from a file. Let me write a
more explicit example doing the reload:
echo "hints.config('/etc/hosts')" | sudo nc -U
/run/knot-resolver/control@1
--Vladimir