Sign in to follow this  

DNS Blacklisting?

This topic is 4218 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Is there any way under linux to 'blacklist' outgoing connection requests, such that the system will not allow outgoing connections to certain DNS domains or IP addresses? Incoming is easy to block with my firewall, and Mozilla (Suite) supported blocking HTTP requests to a black list of servers and domains, but Firefox doesn't offer a way to do it. All I want is to blacklist some extremely slow ad servers that block loading of the rest of the page, and which seem to go down for several hours every night. It's a real bother, as I do all my browsing and regular reading during what appear to be their slowest service periods. I'm running Ubuntu, which is Debian-based enough that nearly all packages are intercompatible.

Share this post


Link to post
Share on other sites
Have you tried the Firefox extensions "AdBlock" and "AdBlock Plus" (Different despite their similar names)? Might be worth a shot...

Hope this helps,

Mike.

Share this post


Link to post
Share on other sites
If you don't like adblock and want to do it the "hard" way, open up /etc/hosts and add this line:

127.0.0.1 adserver1 adsedrver2 etcetera

Share this post


Link to post
Share on other sites
Quote:
Original post by Sander
If you don't like adblock and want to do it the "hard" way, open up /etc/hosts and add this line:

127.0.0.1 adserver1 adsedrver2 etcetera

Ooh... I wouldn't have thought of something nefarious like that. Actually gives me ideas for hacking problems, too... I white-collar hack myself and friends from time to time, and that'd be a particularly interesting problem for a friend to troubleshoot.

I'll hunt down the adblock extensions... I don't usually use them, except for the beloved Download Statusbar extension (three cheers if you hate the default download manager).

Share this post


Link to post
Share on other sites
Sign in to follow this