Enforce SafeSearch across Google, Bing, and YouTube to prevent users from disabling content filters or toggling the "Blur Off" option in search results.
The simplest way to enforce SafeSearch across your entire network is through CleanBrowsing DNS. When you use CleanBrowsing's Family Filter, SafeSearch is automatically enforced on Google, Bing, and YouTube.
Configure your router or device with the following DNS addresses:
| Protocol | Primary | Secondary |
|---|---|---|
| IPv4 | 185.228.168.168 | 185.228.169.168 |
| IPv6 | 2a0d:2a00:1:: | 2a0d:2a00:2:: |
For paid accounts, SafeSearch enforcement is enabled automatically when the Adult / Pornography filter category is active in your CleanBrowsing dashboard.
CleanBrowsing enforces SafeSearch by resolving Google search domains to Google's SafeSearch VIP (Virtual IP). This forces all Google searches through SafeSearch regardless of user preferences.
When SafeSearch is locked via DNS:
This approach works across all browsers without requiring per-browser configuration.
For additional protection on managed Windows devices, you can enforce SafeSearch through the Windows Registry:
Google Chrome:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome]
"ForceGoogleSafeSearch"=dword:00000001
"ForceYouTubeRestrict"=dword:00000002
Microsoft Edge:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"ForceGoogleSafeSearch"=dword:00000001
"ForceYouTubeRestrict"=dword:00000002
Save the above as a .reg file and double-click to import, or deploy via Group Policy.
Google Admin Console (for managed Chromebooks):
CleanBrowsing's Family Filter also enforces Bing SafeSearch at the DNS level by resolving Bing to its restricted endpoint. No additional configuration is needed if you are already using CleanBrowsing DNS.
For additional device-level enforcement on Windows:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge]
"ForceBingSafeSearch"=dword:00000001
On managed networks, you can also add the following entry to your hosts file or DNS server to force Bing into strict mode:
# Force Bing SafeSearch
strict.bing.com www.bing.com
CleanBrowsing's Family Filter enforces YouTube Restricted Mode at the DNS level. This prevents access to age-restricted content and hides comments on most videos.
For additional enforcement via browser policy:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome → "ForceYouTubeRestrict"=dword:00000002 (value 2 = Strict, value 1 = Moderate)HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Edge → "ForceYouTubeRestrict"=dword:00000002You can also enforce YouTube Restricted Mode via DNS by adding a CNAME record for www.youtube.com pointing to restrict.youtube.com (Moderate) or restrictmoderate.youtube.com (Strict) in your local DNS server.
To prevent users from bypassing DNS-based SafeSearch enforcement, block the following at your firewall:
185.228.168.168 and 185.228.169.168)dns.google (8.8.8.8), cloudflare-dns.com (1.1.1.1), and mozilla.cloudflare-dns.comFor detailed browser-level hardening, see our guides on hardening Chrome and hardening Edge.
After configuring SafeSearch enforcement, verify it is working correctly:
nslookup -type=txt debug.cleanbrowsing.org to confirm you are using CleanBrowsing DNSIf SafeSearch is not enforced, clear your DNS cache and restart the browser.