• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 606
  • Last Modified:

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

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
Robin_Ottawa
Asked:
Robin_Ottawa
  • 4
  • 4
  • 2
4 Solutions
 
thomasd04Commented:
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
 
Robin_OttawaAuthor Commented:
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
 
Darius GhassemCommented:
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
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
thomasd04Commented:
Are you currently using a Proxy server for client access tot he internet?
0
 
Robin_OttawaAuthor Commented:
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
 
Darius GhassemCommented:
0
 
thomasd04Commented:
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
 
Robin_OttawaAuthor Commented:
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
 
thomasd04Commented:
Would you consider using a free tool for content filtering like SQUID proxy server?
0
 
Robin_OttawaAuthor Commented:
Based on your recommendations, I will suck it up and install a proper proxy/content filter.

Thanks all.
0

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 4
  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now