CleanBrowsing on your Linux

Activating CleanBrowsing on your Linux is pretty simple. Our instructions here cover all distributions, including Ubuntu, RedHat, CentOS, etc.

Linux

Tech talk: CleanBrowsing is a DNS-based filter that prevents adult content from being loaded. It doesn't require any software instalation and can be easily enabled anywhere by switching your DNS servers to the ones we provide. On its basic form, all you have to do is switch your nameservers to 185.228.168.168 - or follow the steps bellow.



Step 1

Overview

Linux keeps your Nameserver configuration stored at the file /etc/resolv.conf. It is used across all Linux distributions, so if you edit that file you will modify the default nameserver for the system. Any text editor is fine, as long as you have root (admin) permissions. Note that if you are using a DHCP client, it may try to override your changes with the ones by your DHCP server. You can try to edit the dhcp client configuration to prevent the change or set the resolv.conf file as immutable.

We found that no dhcp client configuration is the same, so setting the /etc/resolv.conf as immutable after you change is likely the easier route - with no side effects on any system we have done so.

Step 2

Change the DNS

The easiest way to change the file /etc/resolv.conf is via the terminal and using the echo command to append your changes in there. Open your terminal and run:

  sudo echo 'nameserver 185.228.168.168' > /etc/resolv.conf

That will force all your interfaces to go through CleanBrowsing (185.228.168.168). If it works, you won't get any warning or error in the terminal.

As a bonus point, you can run the chattr command to set that file as immutable, so it can't be modified any anyone else:

  sudo chattr +i /etc/resolv.conf

That's it. Your Linux server is configured.




Guides

Child Proofing your iPhone or iPad

How to Block Pornography on any device

Configuring DNS Views

DNSSEC validation included. DNSCrypt coming soon.

Child Proofing your Android (to come)

Child Proofing Chrome Book (to come)

Safe Internet at Schools (to come)

Copyright © cleanbrowsing.org     Privacy and terms of service