[reSIProcate] DNS timeout sip2sip account

Scott Godin sgodin at sipspectrum.com
Thu Jun 30 08:46:31 CDT 2016


Why do you say the DNS lookup didn't find anything?  Clearly the logs show
it worked fined.  It got 3 NAPTR records, the SRV record and 3 A records?:

STACK | 20160629-140435.384 | telepathy-resiprocate | RESIP:DNS |
139966897334016 | DnsResult.cxx:1308 | Received NAPTR record: key=
sip2sip.info order=30 pref=100 flags=s service=SIP+D2U regex= ->
replacement=_sip._udp.sip2sip.info STACK | 20160629-140435.384 |
telepathy-resiprocate | RESIP:DNS | 139966897334016 | DnsResult.cxx:1308 |
Received NAPTR record: key=sip2sip.info order=10 pref=100 flags=s
service=SIP+D2T regex= -> replacement=_sip._tcp.sip2sip.info STACK |
20160629-140435.384 | telepathy-resiprocate | RESIP:DNS | 139966897334016 |
DnsResult.cxx:1308 | Received NAPTR record: key=sip2sip.info order=5
pref=100 flags=s service=SIPS+D2T regex= -> replacement=_sips._
tcp.sip2sip.info

Since TLS is the top order and you have TLS transport - it then looked up
the TLS SRV records:
DEBUG | 20160629-140435.384 | telepathy-resiprocate | RESIP:DNS |
139966897334016 | dns/DnsStub.cxx:67 | _sips._tcp.sip2sip.info (SRV) -->
p=100 w=100 proxy.sipthor.net:443

Then it successfully looked up the A records:
DEBUG | 20160629-140435.385 | telepathy-resiprocate | RESIP:DNS |
139966897334016 | dns/DnsStub.cxx:49 | proxy.sipthor.net(A)-->
81.23.228.129, proxy.sipthor.net(A)--> 81.23.228.150, proxy.sipthor.net(A)-->
85.17.186.7

resip then proceeded to try to connect over TLS to 81.23.228.129:443:
DEBUG | 20160629-140435.385 | telepathy-resiprocate | RESIP:TRANSPORT |
139966897334016 | TcpBaseTransport.cxx:316 | Processing write for [ V4
81.23.228.129:443 TLS targetDomain=sip2sip.info transportKey=1 ]

On Wed, Jun 29, 2016 at 4:22 PM, Mateus Bellomo <mateusbellomo at gmail.com>
wrote:

> Hello,
>
> I'm trying to connect a sip2sip account at resiprocate and I'm not getting
> to do it. It appears that DNS lookup is not finding anything [1]. I also
> used use dig to find the proxy and it did:
>
> $ dig -t a proxy.sipthor.net
> ;; ANSWER SECTION:
> proxy.sipthor.net.    60    IN    A    81.23.228.129
> proxy.sipthor.net.    60    IN    A    81.23.228.150
>
> ;; Query time: 390 msec
> ;; SERVER: 201.82.0.69#53(201.82.0.69)
> ;; WHEN: Wed Jun 29 16:26:28 BRT 2016
> ;; MSG SIZE  rcvd: 186
>
> Anyone knows about this and how to solve it?
>
> Thanks in advance
>
>
> [1] http://paste.debian.net/771667/
>
> _______________________________________________
> resiprocate-devel mailing list
> resiprocate-devel at resiprocate.org
> https://list.resiprocate.org/mailman/listinfo/resiprocate-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20160630/f45fb54b/attachment.htm>


More information about the resiprocate-devel mailing list