YouTube Safe or Restricted mode enforced by DNS

Updated 4 years ago by admin

YouTube Safe mode (also known as Restricted mode) can be enforced globally by altering the DNS for specific domains. This may be required in addition to the Feature Control rule restriction.

If you are using a USS Gateway virtual machine, you can follow these steps. For other systems, you can edit the network DNS server or local hosts file to achieve the same result.

  1. Log in to your USS Gateway virtual machine to access the command line
  2. Type: sudo nano /etc/hosts.override to create or edit the special hosts override file
  3. Paste the following into the hosts file:​
  1. Stop the gateway configuration process: /etc/init.d/ussgw_sysmond stop
  2. Start the gateway configuration process: /etc/init.d/ussgw_sysmond start

After this, Restricted mode should be enforced for all users of the USS Gateway

How did we do?