Solved

Windows DNS: How to redirect a webrequest

Posted on 2013-01-11
2
477 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Many of us in IT utilize a combination of roaming profiles and folder redirection to ensure user information carries over from one workstation to another; in my environment, it was to enable virtualization without needing a separate desktop for each…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

830 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