Skip to content

Child friendly local DNS safe-search config for use with OpenDNS Family Shield or simlair

Notifications You must be signed in to change notification settings

cp7crash/unbound-safe-search

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

OpenDNS Family Shield (or indeed many other filtering DNS providers) cannot enforce safe search for search engines. Short of introducing an HTTP proxy, a common recommendation is to use host files to work around this issue but with a larger number of devices centralized management is desirable.

This can be achieved by using a local DNS resolver that intercepts requests and redirects them to their safe-search equivalent hosts, with Unbound being a great free tool to achieve this.

Setup

If you already familiar with Unbound, you'll just need the safe-search.conf file which you can include using include: "safe-search.conf"(make sure you do this before you declare any forward zones).

To setup from scratch:

  1. Download and install Unbound
  2. Replace server.conf with relevant details
  3. Copy safe-search.conf into your Unbound directory
  4. Restart the unbound service

The provided server.conf assumes multiple VLANs/APs (one for adults, one for kids) with the non-restricted/adult DNS server provided on a different IP.

Generating Config

See generate-zones.cmd for a little help if you need to generate config for a long list of domains (e.g. google-domains.txt list).

All tested on Windows Server 2019 and Unbound 1.10

About

Child friendly local DNS safe-search config for use with OpenDNS Family Shield or simlair

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published