Re: Error when using GeoIP

2014-07-01 Thread Ali Jawad
Hi Mukund This is the paid version of the DB, tailing that file states GEO-106 20140624 Build 1 Copyright (c) 2014 MaxMind Inc All Rights Reserved As said it does work with the geoiplookup tool. seLinux is disabled and permissions for files are default on a fresh system..see below for GeoIP dir

Re: Error when using GeoIP

2014-07-01 Thread Mukund Sivaraman
Hi Ali On Tue, Jul 01, 2014 at 08:41:32PM +0200, Ali Jawad wrote: > [root@uk etc]# ls -lart /usr/share/GeoIP/ > > -rw-r--r-- 1 root root 1206078 Jul 1 10:08 GeoIP.dat Though this is not the problem causing the failure: This filesize looks too large for it to be the current country database G

Re: Error when using GeoIP

2014-07-01 Thread Ali Jawad
Hi Jeremy Yes it does see the below [root@uk ~]# geoiplookup ip.ip.ip.ip GeoIP Country Edition: US, United States A bummer though, as I have purchased the Maxmind Country edition. When I did try to install GeoLiteCity.dat I got the error below file /usr/share/GeoIP/GeoIP.dat from install o

Re: Error when using GeoIP

2014-07-01 Thread Jeremy C. Reed
On Tue, 1 Jul 2014, Ali Jawad wrote: > [root@uk etc]# ls -lart /usr/share/GeoIP/  > > -rw-r--r--   1 root root 1206078 Jul  1 10:08 GeoIP.dat > > > > The output from the logs is  > > Jul  1 14:38:56 uk named[1795]: using "/usr/share/GeoIP" as GeoIP directory > > Jul  1 14:38:56 uk named[1795

Re: Error when using GeoIP

2014-07-01 Thread Ali Jawad
Hi Jeremy Thanks for chipping in. Usual as ever. So I did actually use geoip-directory "/usr/share/GeoIP"; and ls of that dir is [root@uk etc]# ls -lart /usr/share/GeoIP/ -rw-r--r-- 1 root root 1206078 Jul 1 10:08 GeoIP.dat The output from the logs is Jul 1 14:38:56 uk named[1795]: using

Re: Error when using GeoIP

2014-07-01 Thread Jeremy C. Reed
> geoip-directory "/usr/share/GeoIP/GeoIP.dat"; Should be a directory. > > in zones > > > acl "US" { > >   geoip country US; > > }; > > > > view "US" { > >      match-clients { US; };  //Once I add this it throws the error below > *** > >      include "/etc/named.rfc1912.zones"; >

Re: Error when using GeoIP

2014-07-01 Thread Ali Jawad
Hi Tony I did try match-clients {geoip country US; }; but that yielded the same error. Which is weird, I did actually submit the bug with the above patch in RC2 and inline worked at the time . Will try the patch, let me know if you have input on the match-clients please. As I did already buil

Re: Error when using GeoIP

2014-07-01 Thread Tony Finch
Ali Jawad wrote: > > acl "US" { > geoip country US; > }; > > view "US" { > match-clients { US; }; //Once I add this it throws the error below > }; > > /etc/named.conf:47: no GeoIP database installed which can answer queries of > type 'country' This is a bug in 9.10.0 which will be fixed

Error when using GeoIP

2014-07-01 Thread Ali Jawad
Hi I did compile 9.10 with --with-geoip , did the config as follows : In options geoip-directory "/usr/share/GeoIP/GeoIP.dat"; in zones acl "US" { geoip country US; }; view "US" { match-clients { US; }; //Once I add this it throws the error below *** include "/etc/named