Hosts Package (aka Adblocker) Rc_dns Problem ...

Support section for FREESCO v0.3.x 3rd Party Packages

Postby dilberts_left_nut » Tue Feb 26, 2008 5:00 am

I have done a hatchet job on Lightning's hosts package (1.7) to add the ability to add/remove/view "includes" to the control panel.

In the same way you can add "excludes" but for sites you want to "ban" and will survive an update.

It creates a hosts.include file and copies it into the hosts file after dns.cfg and before hosts.dnld

I will not attempt to make a pkg ( I had enough trouble tar-ing the files ;) )

The tar is here <a href='' target='_blank'></a>

You will need to manually put the files in the right places (and backup your original rc_hosts file - this is the only file changed - the rest go in Addons/Hosts).

PS. This may or may not work as advertised, I just made it work on my system and there is NO WARRANTY, express or implied :D
User avatar
Posts: 71
Joined: Thu Sep 02, 2004 8:25 am
Location: Christchurch, NZ

Postby bob selby » Sat Mar 01, 2008 7:48 pm

Lightning wrote: Actually the system it's self has this capability. Just go into the advanced setup and under the DNS server just use the export services option and add any site you want into it with an ip of something like (TAB)

Once you are finished just use

rc_dns restart

and that site will no longer be accessible by it's name and the hosts update will no longer remove it.

Thanks Lightning - worked a treat.
bob selby
Advanced Member
Posts: 302
Joined: Wed Nov 21, 2001 8:18 am
Location: London, UK

Postby Breazel » Mon Sep 29, 2008 8:57 am

I'm sorry, but link to
pkg -i <a href='' target='_blank'></a>

don't work now.

Where also we can find it?
User avatar
Junior Member
Posts: 30
Joined: Tue Mar 29, 2005 12:27 am

Postby dingetje » Mon Sep 29, 2008 1:43 pm


Code: Select all
pkg -i

"Software is like sex: it's better when it's free." - LINUS TORVALDS
User avatar
Posts: 1010
Joined: Wed Nov 14, 2001 12:13 pm
Location: The Netherlands


Return to 3rd Party Package Support for FREESCO v0.3.x

Who is online

Users browsing this forum: No registered users and 1 guest