<div dir="ltr">I think that you should create a DNS cache server in your network, create a perl script to check everything and use this on opensips, i think that should work well<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2013/11/22 Daniel Nihlén <span dir="ltr">&lt;<a href="mailto:daniel@grandtotal.se" target="_blank">daniel@grandtotal.se</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Seems it does not resolve srv, but its works for a-names.<div><br></div><div>Thanks.</div><span class="HOEnZb"><font color="#888888"><div>Daniel</div><div><br></div></font></span></div><div class="HOEnZb"><div class="h5">
<div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/21 Mike Tesliuk <span dir="ltr">&lt;<a href="mailto:mike@ultra.net.br" target="_blank">mike@ultra.net.br</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><a href="http://www.opensips.org/Documentation/Script-Tran#toc63" target="_blank">http://www.opensips.org/Documentation/Script-Tran#toc63</a><br>


</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/11/21 Daniel Nihlén <span dir="ltr">&lt;<a href="mailto:daniel@grandtotal.se" target="_blank">daniel@grandtotal.se</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>
                <div>
                    Hi,
                </div><div><br></div><div>Any way to have openSIPS check source IP according to dns.</div><div><br></div><div>Now for example:</div><div>if(src_ip==10.10.10.10 || src_ip==11.11.11.11)</div><div><br></div>



<div>I would like:</div><div>if(src_ip==<a href="http://parterfqdn.com" target="_blank">parterfqdn.com</a>)</div><div><br></div><div>and source ip to be compared with any ip available from dns for <a href="http://partnerfqdn.com" target="_blank">partnerfqdn.com</a>, a-record, srv for different transport etc.</div>



<div><br></div><div>Does any one know if there is any built in function to achieve this? Or a recommended solution.</div><div><br></div><div>Thanks</div><span><font color="#888888"><div>Daniel Nihlén</div>
                <div></div>
            </font></span><br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>