Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Net-DNS-Dynamic-Adfilter CPAN distribution.

Report information
The Basics
Id: 90614
Status: resolved
Priority: 0/
Queue: Net-DNS-Dynamic-Adfilter

People
Owner: DWATSON [...] cpan.org
Requestors: tobus3000 [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.071
Fixed in: 0.072



Subject: Feature Request: Configurable IP for list match response.
Hi there Thanks for this great module! How about having a configurable return value for the sub search_ip_in_adfilter? -> Return value currently is the v6 localhost: '::1' I'd like to be able to set it to my local web server. :-) Something like this would do it for me: my $adfilter = Net::DNS::Dynamic::Adfilter->new( setrewrite => '192.168.192.200' } ); #defaults to '::1' Thx!
Hi tobus3000, Thanks for your feature request. The localhost return value of search_ip_in_adfilter is static in order to bypass the local network. Implementing your request would hammer a specific address for every ad filtered address. This tends to contradict the purpose of the module. You no doubt have some purpose in mind, so I suggest you edit a local copy of the module and add a 'set rewrite' attribute to accomplish it. Regards On Fri Nov 22 04:05:50 2013, tobus3000@gmail.com wrote: Show quoted text
> Hi there > > Thanks for this great module! > How about having a configurable return value for the sub > search_ip_in_adfilter? > > -> Return value currently is the v6 localhost: '::1' > > I'd like to be able to set it to my local web server. :-) > Something like this would do it for me: > my $adfilter = Net::DNS::Dynamic::Adfilter->new( setrewrite => > '192.168.192.200' } ); #defaults to '::1' > > Thx!
Configurable loopback feature implemented. Intended for assignment within the 127.0.0.0/8 address block. :-) my $adfilter = Net::DNS::Dynamic::Adfilter->new( loopback => '127.255.255.254' ); Thanks.