Bugs item #2531152, was opened at 2009-01-23 16:16
Message generated for change (Comment added) made by mzabaluev
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=756076&aid=2531152&group_id=143636

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
>Resolution: None
Priority: 5
Private: No
Submitted By: Mikhail Zabaluev (mzabaluev)
Assigned to: Pekka Pessi (ppessi)
Summary: Does not cache some DNS results

Initial Comment:
In some circumstances, Sofia-SIP keeps requesting DNS records over and over 
again with every SIP request. See the attached log. Note also how NAPTR is 
requested repeatedly, even though nothing useful is obtained from the responses.

----------------------------------------------------------------------

>Comment By: Mikhail Zabaluev (mzabaluev)
Date: 2009-02-04 20:34

Message:
It breaks with proxy01.sipphone.com, too.

----------------------------------------------------------------------

Comment By: Mikhail Zabaluev (mzabaluev)
Date: 2009-02-04 20:05

Message:
The patch regresses a case where SRV refers to a CNAME. Granted it's not
allowed by strict DNS spec, but it used to work.

telepathy-sofiasip[2040]: nta: for "sip1.cosmicparrot.net" query
"_sip._udp.sip1.cosmicparrot.net" SRV
telepathy-sofiasip[2040]: nta: _sip._udp.sip1.cosmicparrot.net IN SRV 0 0 
5063 sip1.cosmicparrot.net. (udp)
telepathy-sofiasip[2040]: nta: for "sip1.cosmicparrot.net" query
"sip1.cosmicparrot.net." A (cached)
telepathy-sofiasip[2040]: nta: for "sip1.cosmicparrot.net" query
"_sip._tcp.sip1.cosmicparrot.net" SRV
telepathy-sofiasip[2040]: nta: _sip._tcp.sip1.cosmicparrot.net IN SRV 0 0 
5062 sip1.cosmicparrot.net. (tcp)
telepathy-sofiasip[2040]: nta: for "sip1.cosmicparrot.net" query
"sip1.cosmicparrot.net." A (cached)
telepathy-sofiasip[2040]: nta: for "sip1.cosmicparrot.net" query
"sip1.cosmicparrot.net" A (cached)
telepathy-sofiasip[2040]: GLIB DEBUG default -
tpsip_connection_sofia_callback: event nua_r_register: 503 DNS Error

;; QUESTION SECTION:
;sip1.cosmicparrot.net.         IN      A

;; ANSWER SECTION:
sip1.cosmicparrot.net.  86400   IN      CNAME   svc.cosmicparrot.net.
svc.cosmicparrot.net.   49472   IN      A       217.152.255.16


----------------------------------------------------------------------

Comment By: Pekka Pessi (ppessi)
Date: 2009-01-23 19:17

Message:
Fri Jan 23 19:13:41 EET 2009  Pekka Pessi <first.l...@nokia.com>
  * sresolv: caching SRES_RECORD_ERR in case a CNAME is returned, too
  
  Tracing the CNAMEs when doing cache lookups.

Misha, please verify.

----------------------------------------------------------------------

Comment By: Pekka Pessi (ppessi)
Date: 2009-01-23 18:18

Message:
Looks like sres does not check that it got what it asked. 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=756076&aid=2531152&group_id=143636

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to