[SR-Users] Call DNS resolver from a cfg script.

Nathan Angelacos nangel at nothome.org
Wed Aug 21 05:44:34 CEST 2013


On 08/20/2013 04:39 PM, Sergey Okhapkin wrote:
> Is there a way to run DNS lookups from cfg script? I need some way to get host
> IP by DNS name.
>

Yes, but only in the development version.

Announcement here:
http://www.kamailio.org/w/2013/07/new-dns-operations-in-configuration-file/

Docs here:
http://kamailio.org/docs/modules/devel/modules/ipops.html#ipops.f.dns_query






More information about the sr-users mailing list