Solved

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

Posted on 2011-02-21
10
589 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
ID: 34944731
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
ID: 34944775
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
ID: 34944809
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
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 
LVL 3

Expert Comment

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

Author Comment

by:Robin_Ottawa
ID: 34945477
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
 
LVL 59

Assisted Solution

by:Darius Ghassem
Darius Ghassem earned 250 total points
ID: 34945538
0
 
LVL 3

Assisted Solution

by:thomasd04
thomasd04 earned 250 total points
ID: 34945578
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
ID: 34945652
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
ID: 34945860
Would you consider using a free tool for content filtering like SQUID proxy server?
0
 

Author Closing Comment

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

Thanks all.
0

Featured Post

Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Need to create a list of users who are members of Remote Desktop Users 7 42
GPO on certain users 17 37
Time sync on Domain 5 42
DNS forwarders "unable to resolve" 1 69
New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
A safe way to clean winsxs folder from your windows server 2008 R2 editions
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…

733 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