[Kamailio-Users] sip_resolvehost: NATPR query timed out

Daniel-Constantin Mierla miconda at gmail.com
Wed Sep 16 20:15:50 CEST 2009



On 16.09.2009 20:09 Uhr, Joao Gomes Pereira wrote:
> Thanks a lot
> You were wright, the DNS server that I was using was taking too much 
> to answer....and that caused Kamailio to produce those errors.
> Im now using another DNS server and the problem is solved.

good! the registrations are ok?

Cheers,
Daniel

> Thanks again
> Joao Pereira
>
> Daniel-Constantin Mierla wrote:
>> Hello,
>>
>> On 16.09.2009 16:56 Uhr, Joao Gomes Pereira wrote:
>>> Hello
>>> Im getting this error in my Kamailio-1.5.2:
>>>
>>> Sep 16 15:43:08 sip kamailio[25298]: ERROR:core:sip_resolvehost: 
>>> NATPR query timed out, no server could be reached, stop resolving 
>>> (Connection timed out)
>>> Sep 16 15:43:08 sip kamailio[25298]: CRITICAL:core:mk_proxy: could 
>>> not resolve hostname: "sip.server.pt"
>>> Sep 16 15:43:08 sip kamailio[25298]: ERROR:tm:uri2proxy: bad host 
>>> name in URI <sip:sip.server.pt>
>>> Sep 16 15:43:08 sip kamailio[25298]: ERROR:tm:t_forward_nonack: 
>>> failure to add branches
>>>
>>> Why cant Kamailio resolve the name?
>>> Could this be causing my clients SIP registrations to fail?
>> dns configuration in the server is broken. As message says, no DNS 
>> server could be reached while attempting to get the IP address of 
>> destination, therefore forwarding fails.
>>
>> You can check it using dns tools on the system.
>>
>> Not sure how is your architecture, but registers should be handled 
>> locally without forwarding -- you can set alias in config file to 
>> match hostnames as local domains.
>>
>> Cheers,
>> Daniel
>>
>
>

-- 
Daniel-Constantin Mierla
* http://www.asipto.com/





More information about the sr-users mailing list