You may navigate to User Configuration\Policies\Windows Settings\Internet Explorer Maintenance\Security\Security Zones and Content Ratings then tick "Import the current Content Rating Settings" and then click the Modify settings button. To add a site, type it into the “Allow this website:” text box, then click the Never button. When you have configured all of the sites that you want to restrict, click the Apply button, as shown in the following snapshot.
How to block certain web sites from active directory domain controller?_职场

Also, you need to tick the "Users can see websites that have no rating" check box.
How to block certain web sites from active directory domain controller?_职场_02

For more details, see below: