I am using Turris Omnia with latest Turris OS 5.3.11 with default kresd resolver
I have already used the MVPS hosts file to block some malware sites without any issues via the ‘hostname_config’ command in the “resolver” config file.
I am now playing with StevenBlack “hosts files” (https://github.com/StevenBlack/hosts) but I have a syntax error in the file that I cannot spot.
In “/var/log/resolver” file I have these errors :
Aug 3 20:03:37 TurrisOmnia kresd: [hint ] [ ]/tmp/kresd/hints.tmp:11953: invalid syntax
Aug 3 20:28:45 TurrisOmnia kresd: [hint ] [ ]/tmp/kresd/hints.tmp:112545: invalid syntax
I have already the kresd custom config :
Is there a way to know the line of the error or a tool to validate a hosts file ?