Solved

Windows DNS: How to redirect a webrequest

Posted on 2013-01-11
2
482 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Building an interactive eFuture classroom

Watch and learn how ATEN provided a total control system solution including seamless switching matrix switch, HDBaseT extenders, PDU, lighting control to build an interactive eFuture classroom.

Question has a verified solution.

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

A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

707 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