Apparent DNS lookup issue with domain that has no A-record

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All!

I came across this issue in pjsua, freshly built from stable 2.5.5. 

I am new to pjsip (and somewhat new to SIP), so this may be inexperience, but it appears like a bug to me..


>From the psua app that I freshly compiled for Debian (pjsip-apps/bin/pjsua-x86_64-unknown-linux-gnu) I can make sip calls to a most addresses just fine, but to one of my addresses tpeskens@xxxxxxxxxxxxxxxx it gives me the errors below. 

It appears that it fails to get the host by name. — And that’s true. emerge.onsip.com has no A record set. It does, however, have a SRV _sip._udp.emerge.onsip.com address set; pointing to sip.onsip.com, which in turn resolves just fine. Other addresses that have an A record set work fine.


23:42:12.545  sip_resolve.c !....Failed to resolve 'emerge.onsip.com'. Err=70018 (gethostbyname() has returned error (PJ_ERESOLVE))
23:42:12.546   tsx0x18d7e38  ....Failed to send Request msg INVITE/cseq=17004 (tdta0x18d4e20)! err=70018 (gethostbyname() has returned error (PJ_ERESOLVE))
23:42:12.546    pjsua_app.c  .......Call 1 is DISCONNECTED [reason=502 (gethostbyname() has returned error (PJ_ERESOLVE))]
23:42:12.546 pjsua_app_comm  .......


I’d be happy to file a bug or something.

Cheers and greetings,
Thatcher 



~~~
User Experience Engineer
Cisco Emerging Products


_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux