On Tue, Jul 16, 2024 at 05:49:47AM GMT, Richard Bostrom wrote:
> /etc/resolv.conf does not block out pornography

It isn't supposed to.

You may block specific domains by adding lines like

    0.0.0.0    www.google.com

in /etc/hosts. The second part is the domain to block, the first is the IP
address to map it to (0.0.0.0 being localhost, thus preventing connection to
the real server). For more advanced filtering, you may want to use something
like dnsmasq [1, 2].

P.S.: as others and myself already told you - please use meaningful subjects!


[1]: <https://thekelleys.org.uk/dnsmasq/doc.html>
[2]: <https://landchad.net/dnsmasq/>


--
Ceppo

Attachment: signature.asc
Description: PGP signature

Reply via email to