Skip to content
LogoTechnipages
LogoTechnipages
  • Topics
        • Android
        • Browsers
        • Gaming
        • Hardware
        • Internet
        • iPhone
        • Linux
        • macOS
        • Office
        • Reviews
        • Software
        • Windows
        • Definitions
        • All Recent Posts
  • Product Reviews
  • About

Use Active Directory Domain Services to Block Website

Mitch BartlettNovember 15, 2018 Comments (2)
Active Directory logo

You can block or redirect a website using settings on your firewall or router. But did you know that you can block or redirect websites using Active Directory Domain Services (DNS) as well? Just use these steps.

This tutorial assumes you have Administrator rights in your Active Directory Environment, with access to Microsoft Management Console.

Creating Forward Lookup Zone

  1. Select “Start“, type “mmc.exe“, then press “Enter“.
  2. The Microsoft Management Console appears. Select “File” > “Add/Remove Snap In…“.
  3. Add the “DNS” snap in, then select “OK“
  4. Select “DNS” on the left pane. You should be prompted to “Connect to DNS Server“. Select “This computer” if you’re logged into the DNS server, or select “The following computer” and enter the domain name or IP address of the DNS server you wish to connect to. Select “OK” when you are done.
  5. Now expand the server name under DNS and right-click “Forward Lookup Zones” and select “New Zone“.
  6. The New Zone Wizard appears. Select “Next”.
  7. Select “Primary Zone“, then select “Next“.
  8. Select “To all DNS servers running on domain controllers in this domain“, then select “Next“.
  9. For the “Zone name“, type the URL for the website you wish to block (i.e. facebook.com, reddit.com, etc.), then select “Next“.
  10. Select “Do not allow dynamic updates“, then select “Next” > “Finish“. You now have set a Forward Lookup Zone that will “take over” any requests to that domain on your network.

Note: It may take time for this setting to propagate to clients. You may want to restart, or use the ipconfig /flushdns command to be sure DNS queries are not cached in any way.

 


Redirecting the URL

If you would like to redirect the URL to another URL, you can use these steps:

  1. Expand DNS and “Forward Lookup Zones” in the MMC console.
  2. Right-click on the zone you created, then choose “Other New Records…” > “Domain Alias (DNAME)” > “Create Record…“.
  3. Leave “Alias name” blank. For “Fully qualified domain name (FQDN) for target domain“, type the URL for the site you would like to redirect to, then select “OK“.

Now any time somebody tries to go to the web address you set the Forward Lookup Zone for, they will redirect to the new target domain.

Categories: Windows

Author Mitch Bartlett

Through my career that spans over 20 years I have become an expert in Microsoft Systems Administration, Android, and macOS. I started this site as a technical guide for myself and it has grown into what I hope is a useful knowledgebase for everyone.

You Might Also Like

  • How to Pin Any Window to Always Be on Top in Windows

    Mel HawthorneWindows
  • Windows 10: How to Hide Recently Added Programs from Start Menu

    Judy SanhzWindows
  • Windows 10 Command Prompt Appears Then Disappears

    Madalina DinitaWindows
  • iCloud Upgrade Failed Header

    How to Fix Upgrade to iCloud for Windows Failed Error: 6 Best Proven Methods

    Susan SheffieldWindows

Comments

  1. Maany says:
    December 23, 2019 at 2:09 am

    What if I need to exclude certain users from this restriction? how can i do that?

  2. Krishna says:
    November 15, 2018 at 10:21 pm

    I want to prevent end users to restrict one application during 7:AM to 9:AM. This application is installed on all the end user Desktops/Laptops..

    Can I schedule this restriction?

Leave a Reply

Your email address will not be published. Required fields are marked *

average laptop lifespan

What Is an Average Laptop Lifespan?

fix 0x80070302 windows update error

How to Fix the 0x80070302 Windows Update Error

how to allocate more memory to a program

How to Allocate More Memory to a Program in Windows

marvel rivals memory leak fix

Marvel Rivals Using Too Much Memory – How to Fix

how to create a macro in word

How to Create a Macro in Word

profile pic

The Experts Behind Technipages

My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

Learn More

technipages logo white
linkedin icon

Technipages is part of Guiding Tech Media, a leading digital media publisher focused on helping people figure out technology. Learn more about our mission and team here.

© 2025 Guiding Tech Media All Rights Reserved

  • About Us
  • Contact
  • Legal & Privacy

© 2025 Guiding Tech Media All Rights Reserved

Information from your device can be used to personalize your ad experience.
Do not sell my personal information.

Last Updated on November 15, 2018 by Mitch Bartlett