Is there a way to run DNS lookups from cfg script? I need some way to get host IP by DNS name.
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