NAME
adfilter.pl - Sample interface script to Net::DNS::Dynamic::Adfilter
SYNOPSIS
adfilter.pl [options]
Options:
-h -help display this help
-v -verbose show server activity
-d -debug enable debug mode
-host host (defaults to localhost)
-p -port port (defaults to 53)
-bg -background run the process in the background
-ns -nameserver forward queries to this nameserver (<ip>:<port>)
DESCRIPTION
This script implements a dynamic DNS proxy server for the purpose of filtering advertisements.
CAVEATS
Though the module permits the use of as many lists as you like, it should be sufficient to run this script using one or two lists, accepting the defaults and running it in the background:
sudo perl adfilter.pl -bg
# you must manually kill this process
Edit the adblock_stack, blacklist and whitelist args to your liking.
AUTHOR
David Watson <dwatson@cpan.org>
SEE ALSO
Net::DNS::Dynamic::Adfilter
COPYRIGHT
This library is free software. You can redistribute it and/or modify it under the same terms as Perl itself.