[SR-Users] DNS SRV when no NAPTR

Daniel-Constantin Mierla miconda at gmail.com
Tue Sep 17 14:08:09 CEST 2013


Hello,

can you make a test with debug=3 and send the logs to me?

Cheers,
Daniel

On 9/17/13 1:13 PM, Øyvind Kolbu wrote:
> Hi,
>
> I'm having problems connecting to a videoservice at seevia.no, because
> they have no NAPTR nor _sip._udp.seevia.no entry. They do have for
> tcp and sips:
>
> % host -t NAPTR seevia.no
> seevia.no has no NAPTR record
> % host -t SRV _sip._udp.seevia.no
> Host _sip._udp.seevia.no not found: 3(NXDOMAIN)
> % host -t SRV _sip._tcp.seevia.no
> _sip._tcp.seevia.no has SRV record 1 0 5060 vcse.vcn.no.
> % host -t SRV _sips._tcp.seevia.no
> _sips._tcp.seevia.no has SRV record 1 0 5061 vcse.vcn.no.
> % host -t A vcse.vcn.no.
> vcse.vcn.no has address 85.19.200.18
> vcse.vcn.no has address 62.92.46.211
> % host -t A seevia.no
> seevia.no has address 93.89.34.42
>
> Ref an old thread on sr-dev,
> <http://lists.sip-router.org/pipermail/sr-dev/2012-October/016969.html>
> this should have been fixed by
> <http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=63ef5f0edcfebe86cffe7489f3524186ed3400d4>. 
>
>
> From tcpdump:
>
> 65177+ NAPTR? seevia.no. (27)
> 65177 0/1/0 (86)
> 31896+ SRV? _sip._udp.seevia.no. (37)
> 31896 NXDomain 0/1/0 (96)
> 54304+ A? seevia.no. (27)
> 54304 1/2/2 A 42.93-89-34.enivest.net (119)
>
> Trivial to see it does not attempt to lookup anything after a NXDOMAIN
> for _sip._udp.seevia.no.
>
> % host -t A  42.93-89-34.enivest.net
> 42.93-89-34.enivest.net has address 93.89.34.42
>
> Any idea why my INVITEs are being sent to 93.89.34.42
> instead one of vcse.uio.no's IPs?
>
> My dns settings:
>
> use_dns_cache=on
> use_dns_failover=on
> dns_try_ipv6=no
> dns_retr_time=1
> dns_retr_no=2
> dns_use_search_list=no
> dns_try_naptr = yes
> dns_srv_lb = yes
>
> I'm running latest 4.0:
> % kamailio -V
> version: kamailio 4.0.3 (i386/linux) a331af
> flags: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, 
> USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, 
> SHM_MMAP, PKG_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, 
> USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, 
> HAVE_RESOLV_RES
> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, 
> MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 4MB
> poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
> id: a331af
> compiled on 11:30:24 Sep 17 2013 with gcc 4.1.2
>

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Oct 21-24; Miami, Nov 11-13, 2013
   - more details about Kamailio trainings at http://www.asipto.com -




More information about the sr-users mailing list