Solved

Windows DNS: How to redirect a webrequest

Posted on 2013-01-11
2
476 Views
Last Modified: 2013-01-11
Hi,
I am trying to ban a few sites that users are going to.  Is it possible to add the site

(say www.badwebsitie.com) to the DNS tables and then have it point to a specific webpage hosted internally that say "This site is banned by policy"?

If so, how do I do.  Thanks.
0
Comment
Question by:NYGiantsFan
2 Comments
 
LVL 23

Accepted Solution

by:
Thomas Grassi earned 500 total points
ID: 38767093
0
 
LVL 9

Expert Comment

by:gt2847c
ID: 38767113
You can't redirect a DNS query to a specific page, but you can create a common web page at the root of a server/virtual server and have DNS return the IP address of that server when querying a domain you wish to block.  Your server will also have to have a custom 404 error page to catch all the URLs other than root and return the "Banned site" message.

A proxy server setup might be easier to maintain over time, however...  Most proxies including the free ones (Squid) allow for this kind of administrative setup.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question