[OpenSIPS-Users] Checking src IP against addresses from DNS?

Mike Tesliuk mike at ultra.net.br
Fri Nov 22 18:57:32 CET 2013


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


2013/11/22 Daniel Nihlén <daniel at grandtotal.se>

> Seems it does not resolve srv, but its works for a-names.
>
> Thanks.
> Daniel
>
>
>
> 2013/11/21 Mike Tesliuk <mike at ultra.net.br>
>
>> http://www.opensips.org/Documentation/Script-Tran#toc63
>>
>>
>> 2013/11/21 Daniel Nihlén <daniel at grandtotal.se>
>>
>>>  Hi,
>>>
>>> Any way to have openSIPS check source IP according to dns.
>>>
>>> Now for example:
>>> if(src_ip==10.10.10.10 || src_ip==11.11.11.11)
>>>
>>> I would like:
>>> if(src_ip==parterfqdn.com)
>>>
>>> and source ip to be compared with any ip available from dns for
>>> partnerfqdn.com, a-record, srv for different transport etc.
>>>
>>> Does any one know if there is any built in function to achieve this? Or
>>> a recommended solution.
>>>
>>> Thanks
>>> Daniel Nihlén
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20131122/2ec4b9a1/attachment.htm>


More information about the Users mailing list