Youtube Restricted Mode use DNS Static - MikroTik Script RouterOS

Filter explicit results using Youtube Restricted Mode

Whether you’re using Youtube Search at work, with children or for yourself, Youtube Restricted Mode can help you filter sexually explicit content from your results.

/ip dns static
add address=216.239.38.119 name=youtube.com comment="Youtube SafeSearch"
add address=216.239.38.119 name=www.youtube.com comment="Youtube SafeSearch"
add address=216.239.38.119 name=https://www.youtube.com comment="Youtube SafeSearch"
add address=216.239.38.119 name=m.youtube.com comment="Youtube SafeSearch"
add address=216.239.38.119 name=https://m.youtube.com comment="Youtube SafeSearch"
add address=216.239.38.119 name=youtubei.googleapis.com comment="Youtube SafeSearch"
add address=216.239.38.119 name=https://youtubei.googleapis.com comment="Youtube SafeSearch"
add address=216.239.38.119 name=youtube.googleapis.com comment="Youtube SafeSearch"
add address=216.239.38.119 name=https://youtube.googleapis.com comment="Youtube SafeSearch"
add address=216.239.38.119 name=www.youtube-nocookie.com comment="Youtube SafeSearch"