[OpenSIPS-Users] opensips 2.4.7 - Dispatcher ds_is_in_list() DNS resolution

Liviu Chircu liviu at opensips.org
Mon Mar 1 16:08:48 EST 2021


On 01.03.2021 18:04, solarmon wrote:
> I would like somebody to confirm this is the behaviour - i.e. 
> ds_is_in_list() does a DNS lookup on the Destination address of the 
> endpoint.

Hi,

Technically speaking, ds_is_in_list() does *not* perform a DNS lookup, 
as it works with cached data.  DNS lookups are indeed done, however, 
during startup or after each MI "ds_reload" command.  The resulting IP 
addresses will be cached *indefinitely*, until the next reload/restart.

Best regards,

-- 
Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com




More information about the Users mailing list