luigi1809 / webfilter-ng

Transparent HTTP/HTTPS/TLS web filter
GNU Lesser General Public License v3.0
36 stars 11 forks source link

DNS cache #8

Closed mrbluecoat closed 4 years ago

mrbluecoat commented 4 years ago

The readme mentions "webfilter-ng will read the dns cache of bind9" but I don't see "/var/cache/bind" mentioned in webfilter-ng.c. My C programming is as good as my iptables dojo so I'm probably missing something obvious. Can you point me in the right direction? I'm interested in trying dnsmasq and knot-resolver...

luigi1809 commented 4 years ago

Any local dns is OK as long as it is doing cache. Dnsmasq and knot should do it.

Webfiler-ng is C calls webGuard shell script, which is a copy of dnsWebGuard/dnsCategorifyWeGuard. Then shell script does a dig command to query local DNS, which has the response in cache