Solved

Apply hosts file to 08R2 DNS Server to block ads for client?

Posted on 2011-02-21
10
548 Views
Last Modified: 2012-05-11
Hello,

There are a few good websites out there that provide updated HOSTS files that I have used on PCs to manage ads, and I find they work great... I was wondering though, could I use one of these files on my DNS Server, and thus block ads for any client PC using that dns server?

Is this common practice? What would be best practice for something like this? I was thinking of making a GPO to manage client HOSTS files, but managing the DNS server seems easier.. Need an experts opinion!

Thanks.
0
Comment
Question by:Robin_Ottawa
  • 4
  • 4
  • 2
10 Comments
 
LVL 3

Expert Comment

by:thomasd04
Comment Utility
Hi Robin. What in the host file are you trying to manage? Everything you need to do, you should be able to accomplish in Dynamic DNS on your server.
0
 

Author Comment

by:Robin_Ottawa
Comment Utility
I would like to place entries for ad websites, resolving to 127.0.0.1 . This way ads are effectively reduced from all client PCs when browsing the web.
0
 
LVL 59

Accepted Solution

by:
Darius Ghassem earned 250 total points
Comment Utility
Not a common practice since host files are only used on the client machines on DNS servers for  this to take affect you would have to apply host file to clients. URLs change all the time but what you really want to do is to get a content filter.
0
 
LVL 3

Expert Comment

by:thomasd04
Comment Utility
Are you currently using a Proxy server for client access tot he internet?
0
 

Author Comment

by:Robin_Ottawa
Comment Utility
No proxy server at the moment. I know it's ideal to have one (and this is where the content filtering would happen) but we're a small company and don't have one implemented yet.
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 59

Assisted Solution

by:Darius Ghassem
Darius Ghassem earned 250 total points
Comment Utility
0
 
LVL 3

Assisted Solution

by:thomasd04
thomasd04 earned 250 total points
Comment Utility
If you really wanted to, you could use a logon script to update the local computer hosts file. You may be able to also use GPO preferences to copy a new hosts file to the clients. As far as best practice, perhaps I could help you look up some inexpensive alternatives to a proxy server. How is traffic currently routed to the internet?
0
 

Author Comment

by:Robin_Ottawa
Comment Utility
We currently have a 100mbit fibre loop with a pair of ASA 5510s, which connect to Catalyst 3560's and then to our clients. Clients are configured to use the ASAs as their gateway, and point to a 2008R2 server for dns and dhcp..
0
 
LVL 3

Assisted Solution

by:thomasd04
thomasd04 earned 250 total points
Comment Utility
Would you consider using a free tool for content filtering like SQUID proxy server?
0
 

Author Closing Comment

by:Robin_Ottawa
Comment Utility
Based on your recommendations, I will suck it up and install a proper proxy/content filter.

Thanks all.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

762 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

7 Experts available now in Live!

Get 1:1 Help Now