<div class="gmail_quote">2012/1/10 Drunkard Zhang <span dir="ltr"><<a href="mailto:gongfan193@gmail.com">gongfan193@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am designing a big deploy system, which will implement via DNS. The<br>
demond is misc, one of them is conditionally resolve, which means that<br>
if one CDN node near unavailable, or latency increased significantly,<br>
no matter why, I want bind to give another second best result, which<br>
located in distant places.<br>
<br>
Is bind support this natively? Or I have to write external program?<br>
<br>
If bind doesn't support, is there any other DNS impletions I can try?<br></blockquote><div><br>As Matus said DNS is not a good place for such magick. Nonetheless you can use Bind with DLZ and some third-party script/program which will change database entries depending on reachability or latency.<br>
May be you should look at PowerDNS, it has something called "Dynamic resolution" and its resolver has scripting support.<br><br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

_______________________________________________<br>
Please visit <a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a> to unsubscribe from this list<br>
<br>
bind-users mailing list<br>
<a href="mailto:bind-users@lists.isc.org">bind-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/bind-users" target="_blank">https://lists.isc.org/mailman/listinfo/bind-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>--<br>AP<br>