[Non-DoD Source] Build with GEOIP
Olsen, Richard William (Rick) CTR (US)
richard.w.olsen.ctr at mail.mil
Fri Mar 25 16:50:52 UTC 2016
Thanks to those who have responded with helpful replies. I understand now
that the bind build does not have the api actually built in and that I have
to install one.
From: bind-users-bounces at lists.isc.org
[mailto:bind-users-bounces at lists.isc.org] On Behalf Of Olsen, Richard
William (Rick) CTR (US)
Sent: Friday, March 25, 2016 9:59 AM
To: bind-users at lists.isc.org
Subject: [Non-DoD Source] Build with GEOIP
I'm trying to configure the GEOIP option in to our bind build. I have the
free GeoIP databases for initial testing. Can anyone point me to a
walkthrough or give me the required steps. I've read the stuff I can find on
ISC and it talks about using the --with-geoip config option and states:
"BIND 9.10's GeoIP features work by allowing you to create ACL elements that
evaluate based on the location information for the client's IP address.
This uses the API provided by MaxMindR to query their GeoIP database but
should work with any database in a compatible format."
This makes it sound to me like the API for maxmind is built in to the bind
code. What I get when trying to build out the bind "--with-geoip"
Configure: error: GeoIP path not found
so I tried to use " --with-geoip=/var/named/GeoIP"
Path does not exist
Used "--with-geoip=/var/named/chroot/var/named/GeoIP" (created the directory
and put the databases here.) Now I get
checking GeoIP.h usability... no
checking GeoIP.h presence... no
checking forGeoIP.h... no
configure: error GeoIP header file not found
the build directory for this release has geoip.h in bin/named/include/named
I'm obviously missing some things.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 5603 bytes
Desc: not available
More information about the bind-users