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-03-03 16:58

Message:
The CNAME problem with proxy01.sipphone.com is still there with the recent
trunk changes.

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

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

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Sofia-sip-devel mailing list
Sofia-sip-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel

Reply via email to