<br><br><div class="gmail_quote">On 17 March 2013 17:20, Peter van Dijk <span dir="ltr"><<a href="mailto:peter.van.dijk@netherlabs.nl" target="_blank">peter.van.dijk@netherlabs.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


Hello Ron,<br>
<div><div><br>
On Mar 16, 2013, at 19:56 , Ron Tsoref wrote:<br>
<br>
> I'm just checking out PowerDNS' capabilities and I'm not sure about something --<br>
><br>
> Is it possible to serve DNS queries with PowerDNS this way? :<br>
><br>
> PowerDNS checks for the requester's IP.  If its IP range is found - serve a certain record from a MySQL database.  If not - PowerDNS will serve a general, country-based answer from the MySQL database (simple Geo resolution).<br>



<br>
</div></div>The BIND and SQL backends cannot do this. The Geobackend can do this natively (but it has some limitations). The Lua, Pipe and Remote backends can do this if you write a script. A Google search might give you a couple.<br>



<br>
Kind regards,<br>
<span><font color="#888888">--<br>
Peter van Dijk<br>
Netherlabs Computer Consulting BV - <a href="http://www.netherlabs.nl/" target="_blank">http://www.netherlabs.nl/</a><br><br></font></span></blockquote><div><br><br>Just curious. Isn't the question closely similar to how "views" work in BIND?<br>


<br>Does PowerDNS support "views", in some way?<br> <br></div></div><br clear="all"><br>-- <br>Best regards,<br>Odhiambo WASHINGTON,<br>Nairobi,KE<br>+254733744121/+254722743223<br>_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ <br>


I can't hear you -- I'm using the scrambler.<br>