User Tools

Site Tools


networking:dns:enforce_safe_searching:youtube

This is an old revision of the document!


Networking - DNS - Enforce safe searching - YouTube

Add a CNAME for the following records:

And point them to:

For Strict Restricted YouTube access add restrict.youtube.com as a CNAME for these domains:

NOTE: You may need to add a www.youtube.com zone and provide an A record override for each of these to 216.239.38.120 (restrict.youtube.com).

NOTE: Using a Hosts file

Add in the below line:

216.239.38.120 www.youtube.com #restrict.youtube.com 216.239.38.120 m.youtube.com #restrict.youtube.com 216.239.38.120 youtubei.googleapis.com #restrict.youtube.com 216.239.38.120 youtube.googleapis.com #restrict.youtube.com 216.239.38.120 www.youtube-nocookie.com #restrict.youtube.com


For Moderate Restricted YouTube access, add restrictmoderate.youtube.com as a CNAME for these domains:

NOTE: You may need to add a www.youtube.com zone and provide an A record override for each of these to 216.239.38.119 (restrictmoderate).

NOTE: Using a Hosts file

Add in the below line:

216.239.38.119 www.youtube.com #restrictmoderate.youtube.com 216.239.38.119 m.youtube.com #restrictmoderate.youtube.com 216.239.38.119 youtubei.googleapis.com #restrictmoderate.youtube.com 216.239.38.119 youtube.googleapis.com #restrictmoderate.youtube.com 216.239.38.119 www.youtube-nocookie.com #restrictmoderate.youtube.com


NOTE: Remember to clear your DNS cache to allow the new rules to work.

networking/dns/enforce_safe_searching/youtube.1610021302.txt.gz ยท Last modified: 2021/01/07 12:08 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki