[asterisk-users] Improving Asterisk's DNS support

Darrick Hartman (lists) dhartman at djhsolutions.com
Thu Jun 21 11:23:12 CDT 2007


Kristian Kielhofner wrote:
> On 6/20/07, Steven <asterisk at tescogroup.com> wrote:
>> I could understand if it couldn't register to an ITSP or similar.
>>
>> But, (I had this happen today) asterisk takes forever to start up and SIP phones can not register to it.
>> DNS should not need to be used for anything in asterisk except registering to VOIP providers and maybe external SQL from the
>> dialplan.
>>
>> If there are reverse lookups being done, I do not see the output of it.
>>
> 
> Steven,
> 
>   If you are using a hostname for an ITSP and DNS fails, it will take
> FOREVER for the SIP channel driver to load/reload/do anything that
> requires a DNS lookup.  This will in some cases block the rest of
> Asterisk but will certainly make anything that depends on SIP break -
> until the DNS request finally fails.
> 
>   I have started a new thread on -dev about this...

I experienced this exact problem last night on my personal box.  My sip 
provider went un-reachable (Teliax requires the use of hostnames).  When 
that happened, I couldn't even call my local phone extensions. 
Everything SIP was locked hard until it finally timed out.

Darrick
-- 
Darrick Hartman
DJH Solutions, LLC
http://www.djhsolutions.com



More information about the asterisk-users mailing list