<div dir="ltr">Hi<div>I did compile 9.10 with --with-geoip , did the config as follows :</div><div><br></div><div>In options </div><div><br></div><div>
<p class="">geoip-directory "/usr/share/GeoIP/GeoIP.dat";</p><p class="">in zones</p><p class=""><br></p><p class="">acl "US" {</p><p class=""> geoip country US;</p><p class="">};</p><p class=""><br>
</p><p class=""><br></p><p class="">view "US" {</p><p class=""> match-clients { US; }; //Once I add this it throws the error below *******</p><p class=""> include "/etc/named.rfc1912.zones";</p>
<p class=""> include "/etc/dk.sites.list";</p><p class=""><br></p><p class="">
</p><p class="">};</p></div><div><br></div><div><br></div><div>Once I add the match-clients line it throws the error below on starting :</div><div><br></div><div>
<p class="">/etc/named.conf:47: no GeoIP database installed which can answer queries of type 'country'</p><p class=""><br></p><p class="">
</p><p class="">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.</p><p class=""><br></p><p class="">
Any hints ?</p>
</div><div><br></div>
</div>