<div dir="ltr">Hi Jeremy<div>Thanks for chipping in. Usual as ever. So I did actually use <span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">geoip-directory "/usr/share/GeoIP";</span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">  </span></div>

<div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><br></span></div><div><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">and ls of that dir is </span></div><div>

<span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><br></span></div><div>







<p class="">[root@uk etc]# ls -lart /usr/share/GeoIP/ </p>
<p class="">-rw-r--r--   1 root root 1206078 Jul  1 10:08 GeoIP.dat<br></p>
<p class=""><br></p></div><div><br></div><div>The output from the logs is </div><div><br></div><div>







<p class="">Jul  1 14:38:56 uk named[1795]: using "/usr/share/GeoIP" as GeoIP directory</p>
<p class="">Jul  1 14:38:56 uk named[1795]: GeoIP Country (IPv4) (type 1) DB not available</p>
<p class="">Jul  1 14:38:56 uk named[1795]: GeoIP Country (IPv6) (type 12) DB not available</p>
<p class="">Jul  1 14:38:56 uk named[1795]: GeoIP City (IPv4) (type 2) DB not available</p>
<p class="">Jul  1 14:38:56 uk named[1795]: GeoIP City (IPv4) (type 6) DB not available</p>
<p class="">Jul  1 14:38:56 uk named[1795]: GeoIP City (IPv6) (type 30) DB not available</p>
<p class="">Jul  1 14:38:56 uk named[1795]: GeoIP City (IPv6) (type 31) DB not available</p>
<p class="">Jul  1 14:38:56 uk named[1795]: GeoIP Region (type 3) DB not available</p>
<p class="">Jul  1 14:38:56 uk named[1795]: GeoIP Region (type 7) DB not available</p>
<p class="">Jul  1 14:38:56 uk named[1795]: GeoIP ISP (type 4) DB not available</p>
<p class="">Jul  1 14:38:56 uk named[1795]: GeoIP Org (type 5) DB not available</p>
<p class="">Jul  1 14:38:56 uk named[1795]: GeoIP AS (type 9) DB not available</p>
<p class="">Jul  1 14:38:56 uk named[1795]: GeoIP Domain (type 11) DB not available</p>
<p class="">Jul  1 14:38:56 uk named[1795]: GeoIP NetSpeed (type 10) DB not available</p></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 1, 2014 at 8:33 PM, Jeremy C. Reed <span dir="ltr"><<a href="mailto:jreed@isc.org" target="_blank">jreed@isc.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> geoip-directory "/usr/share/GeoIP/GeoIP.dat";<br>
<br>
Should be a directory.<br>
<div class=""><br>
><br>
> in zones<br>
><br>
><br>
> acl "US" {<br>
><br>
>   geoip country US;<br>
><br>
> };<br>
><br>
><br>
><br>
> view "US" {<br>
><br>
>      match-clients { US; };  //Once I add this it throws the error below<br>
> *******<br>
><br>
>      include "/etc/named.rfc1912.zones";<br>
><br>
>      include "/etc/dk.sites.list";<br>
><br>
><br>
> };<br>
><br>
><br>
><br>
> Once I add the match-clients line it throws the error  below on starting :<br>
><br>
> /etc/named.conf:47: no GeoIP database installed which can answer queries of<br>
> type 'country'<br>
><br>
><br>
> geoiplookup ip.ip.ip.ip works, so I doubt that is the issue,  I did try<br>
> geoip-directory "/usr/share/GeoIP"; instead of full path but that did not<br>
> make any difference.<br>
><br>
><br>
> Any hints ?<br>
<br>
</div>Look at logs please. Do you have an "initializing GeoIP Country" line?<br>
<br>
Like:<br>
30-Apr-2014 22:11:17.908 initializing GeoIP Country (IPv4) (type 1) DB<br>
<br>
Double-check that /usr/share/GeoIP/ is correct and that you have the<br>
correct database(s) there.</blockquote></div><br></div>