Skip to content

Commit

Permalink
prepare for release 0.067
Browse files Browse the repository at this point in the history
  • Loading branch information
terminalfool committed Jun 11, 2012
1 parent 1683dd2 commit f63bee7
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 9 deletions.
3 changes: 3 additions & 0 deletions Changes
@@ -1,5 +1,8 @@
Revision history for Perl module Net::DNS::Dynamic::Adfilter

0.067 Mon Jun 11 10:22:02 EDT 2012
- fix addressing/sharing of dns server

0.066 Sun May 27 08:32:24 EDT 2012
- parse adblock plus subscription links, add whitelist capability, add data::dumper method

Expand Down
14 changes: 14 additions & 0 deletions README
@@ -0,0 +1,14 @@
Net::DNS::Dynamic::Adfilter - A DNS ad filter

This is a DNS server intended for use as an ad filter for a local area network.
Its function is to load lists of ad domains and nullify DNS queries for those
domains to the loopback address.

The module loads externally maintained lists of ad hosts intended for use by
Adblock Plus, a popular ad filtering extension for the Firefox browser. A
locally maintained blacklist/whitelist can also be loaded.

Once running, local network dns queries can be addressed to the host's ip. This
ip is echoed to stdout.

See sample script: scripts/adfilter.pl
4 changes: 2 additions & 2 deletions dist.ini
@@ -1,18 +1,18 @@
name = Net-DNS-Dynamic-Adfilter
version = 0.066
version = 0.067
author = David Watson <dwatson@cpan.org>
license = Perl_5
copyright_holder = David Watson

[GatherDir]
[MetaJSON]
[MetaYAML]
[MakeMaker]
[Manifest]
[PruneCruft]
[PruneFiles]
match = dist.ini
[License]
[Readme]
[PkgVersion]
[PodVersion]
[AutoPrereqs]
Expand Down
14 changes: 7 additions & 7 deletions lib/Net/DNS/Dynamic/adfilter.pm
Expand Up @@ -200,8 +200,8 @@ Adblock Plus, a popular ad filtering extension for the Firefox browser. Use of
the lists focuses only on third-party listings, since these generally define
dedicated ad/tracking hosts.
A local addendum of hosts can also be specified. In this case, host listings
must conform to a one host per line format.
A locally maintained blacklist/whitelist can also be loaded. In this case, host
listings must conform to a one host per line format.
Once running, local network dns queries can be addressed to the host's ip. This
ip is echoed to stdout.
Expand Down Expand Up @@ -242,9 +242,9 @@ a path string that defines where the module will write a local copy of
the list; a refresh value that determines what age (in days) the local copy
may be before it is refreshed.
There are dozens of adblock plus filters scattered throughout the internet. You can
load them all if you like, though doing so may defeat your purpose. One or two, such
as those listed above, should suffice.
There are dozens of adblock plus filters scattered throughout the internet.
You can load as many as you like, though one or two lists such as those listed
above should suffice.
A collection of lists is available at http://adblockplus.org/en/subscriptions.
The module will accept standard or abp:subscribe? urls. You can cut and paste
Expand All @@ -260,8 +260,8 @@ encoded subscription links directly.
);
The blacklist hashref contains only a path string that defines where the module will
access an addendum of ad hosts to nullify. As mentioned above, a single column is the only
acceptable format:
access a local list of ad hosts to nullify. As mentioned above, a single column is the
only acceptable format:
# ad nauseam
googlesyndication.com
Expand Down

0 comments on commit f63bee7

Please sign in to comment.