[Pdns-users] GEO IP PDNS RECURSOR
Federico87
lvrfrc87 at gmail.com
Sun Jul 26 13:24:49 UTC 2015
Hi All,
Is it possible to enable GEO IP localization for PDS Recursor?. I need it in
order to populate the graphs on DSC
(DSC Conf)
client_subnet_accum => {
plot_type => 'accum1d',
keys => [ qw(?? IA LA AP RI AR) ],
names => [ qw(Unknown IANA LACNIC APNIC RIPE ARIN) ],
colors => [ qw(black red purple yellow blue brightgreen) ],
label_func => sub {
use Geo::IP;
my $l = Geo::IP->new(GEOIP_MEMORY_CACHE|GEOIP_CHECK_CACHE);
$l->country_code_by_addr(shift) || '??';
},
color_func => sub {
"??";
},
data_reader => \&DSC::extractor::read_data2,
data_summer => \&DSC::grapher::data_summer_0d,
munge_func => \&DSC::grapher::munge_anonymize_ip,
yaxes => $std_accum_yaxes,
plottitle => 'Busiest Client Subnets',
map_legend => 1,
},
--
View this message in context: http://powerdns.13854.n7.nabble.com/GEO-IP-PDNS-RECURSOR-tp11665.html
Sent from the PowerDNS mailing list archive at Nabble.com.
More information about the Pdns-users
mailing list