Solved

Windows DNS: How to redirect a webrequest

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

New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

Question has a verified solution.

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

Suggested Solutions

There have been a lot of times when we have seen the need to enter a large number of DNS entries in a forward lookup zone. The standard procedure would be to launch the DNS Manager console, create the Zone and start adding new hosts using the New…
Resolve DNS query failed errors for Exchange
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now