Error when using GeoIP

Ali Jawad alijawad1 at gmail.com
Tue Jul 1 14:37:44 UTC 2014


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.rfc1912.zones";

     include "/etc/dk.sites.list";


};


Once I add the match-clients line it throws the error  below on starting :

/etc/named.conf:47: no GeoIP database installed which can answer queries of
type 'country'


geoiplookup ip.ip.ip.ip works, so I doubt that is the issue,  I did try
geoip-directory "/usr/share/GeoIP"; instead of full path but that did not
make any difference.


Any hints ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20140701/d1b66ea0/attachment.html>


More information about the bind-users mailing list