- DrayOS 4, imported, content_filtering, lan_dns, dns_forwarding, youtube_restricted_mode
Force LAN Clients to use YouTube in Restricted Mode
Youtube provides Restricted Mode that helps screen out potentially objectionable content that you may prefer not to see or don't want others in your network to stumble across while enjoying YouTube. The example below shows how to configure LAN DNS to force LAN clients to use Youtube in Restricted mode.
1. Go to Applications >> LAN DNS/DNS Forwarding, and click on an index number to edit the profile:
- Enable this profile.
- Enter Profile name
- Enter "www.youtube.com" as Domain Name
- For CNAME, enter "restrict.youtube.com" to use "Strict Restricted Mode"; or "restrictmoderate.youtube.com" to use "Moderate Restricted Mode".
- Click OK to apply the settings
2. Similarly, setup LAN DNS profiles for the following youtube domain names:
- m.youtube.com
- youtubei.googleapis.com
- youtube.googleapis.com
- www.youtube-nocookie.com
3. With the above LAN DNS configurations, when LAN clients open Youtube, they will be redirected to the Restricted Mode Server of Youtube.
Troubleshoot
If youtube restricted mode is not turned on as expected, try:
- Clear DNS cache on the LAN hosts for the LAN DNS to work. For Windows users, this may be done by entering
ipconfig/flushdnsin command prompt. - Clear the brower's history and cookies.
