[Home]

Summary:ASTERISK-07618: Lots of _udp_. dns requests
Reporter:barthek (barthek)Labels:
Date Opened:2006-08-29 07:45:18Date Closed:2006-08-30 09:38:01
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:After starting Asterisk or reloading SIP application my asterisk
issues a lot of dns queries of the form:

14:34:20.609225 IP (tos 0x0, ttl  64, id 25024, offset 0, flags [DF], proto: UDP (17), length: 63) 62.233.139.51.49528 > 195.117.140.101.53:  3439+ A? voip.teleaikon.pl. (35)
14:34:20.719826 IP (tos 0x0, ttl  64, id 25051, offset 0, flags [DF], proto: UDP (17), length: 74) 62.233.139.51.49528 > 213.146.35.7.53:  43615+ SRV? _sip._udp.sip.voipbuster.com. (46)
14:34:22.423431 IP (tos 0x0, ttl  64, id 25477, offset 0, flags [DF], proto: UDP (17), length: 64) 62.233.139.51.49528 > 213.146.35.7.53:  63427+ A? sip.voipbuster.com. (36)
14:34:23.421206 IP (tos 0x0, ttl  64, id 25726, offset 0, flags [DF], proto: UDP (17), length: 69) 62.233.139.51.49528 > 213.146.35.7.53:  14622+ SRV? _sip._udp.freespeech.ie. (41)
14:34:25.468285 IP (tos 0x0, ttl  64, id 26238, offset 0, flags [DF], proto: UDP (17), length: 59) 62.233.139.51.49528 > 213.146.35.7.53:  45674+ A? freespeech.ie. (31)
14:34:26.573452 IP (tos 0x0, ttl  64, id 26515, offset 0, flags [DF], proto: UDP (17), length: 71) 62.233.139.51.49528 > 213.146.35.7.53:  60894+ SRV? _sip._udp.sip.blueface.ie. (43)


I swiftly browsed through the sourcecode and from I understood chan_sip.c line 1974 is that it should not happen if srvlookup is disabled, which is on my system.

Is there any way to get rid of the queries? I suspect them to be the source of over 10s delay before sip reload actually makes any change.
Comments:By: Olle Johansson (oej) 2006-08-30 09:08:46

You are right, this is a bug

By: Olle Johansson (oej) 2006-08-30 09:23:32

Ok, trying to fix this. If it takes time, something is wrong in your DNS setup. Regardless, this is a bug in Asterisk.

By: Olle Johansson (oej) 2006-08-30 09:37:09

Fixed in 1.2 and svn trunk (rev 41335). THanks!