<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>when it didn't work, I restarted Blink several times, so the
lifetime shouldn't be the reason in my case...</p>
<p>As soon I have this problem again I will do a more thorough
analyse of the DNS packets received.</p>
<p>Thanks for the hint with the proxy and port settings. This should
solve the issue for me.</p>
<p>Best regards<br>
Till<br>
</p>
<div class="moz-cite-prefix">On 30.11.22 20:15, Tijmen de Mes wrote:<br>
</div>
<blockquote type="cite"
cite="mid:33EFA47F-2B25-4454-BC78-ED3DC530C044@ag-projects.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Hi
<div class=""><br class="">
</div>
<div class="">AFIAK you should always get that it ignores the
CNAME. Why it sometimes behaves different I can’t tell. I run a
test script here and I got it always, unless the lifetime of the
resolver was reached. Then I got timeouts.</div>
<div class=""><br class="">
</div>
<div class="">So it could be that you’re hitting a timeout or a
lifecycle timeout of the resolver, but from remote I can’t
really tell. For lookups dnspython is used.</div>
<div class=""><br class="">
</div>
<div class="">To mitigate the issue, you could specify the port
and proxy and it should just do an A lookup and not the NAPTR,
SRV, A. </div>
<div class=""><br class="">
</div>
<div class="">To do this, go to Server Settings in the SIP account
and add an outbound proxy and port, where outbound proxy is <a
href="http://guest1.voipgateway.org" class=""
moz-do-not-send="true">guest1.voipgateway.org</a> and the port
5060</div>
<div class=""><br class="">
</div>
<div class="">Best regards,</div>
<div class=""><br class="">
</div>
<div class="">Tijmen de Mes</div>
<div class="">—</div>
<div class="">AG Projects</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">Op 30 nov. 2022, om 18:17 heeft <a
href="mailto:g4-lisz@tonarchiv.ch"
class="moz-txt-link-freetext" moz-do-not-send="true">g4-lisz@tonarchiv.ch</a>
het volgende geschreven:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="">It's really strange, right now it's working
but I don't know what has changed.<br class="">
<br class="">
Again I did some network sniffing on port 53 and it
seems a bit random how Blink is reacting to the DNS
replies: Sometimes it simply ignores the CNAME answer to
the NAPTR and doesn't send a request for <a
href="http://ws1.voipgateway.org" class=""
moz-do-not-send="true">ws1.voipgateway.org</a>.
Sometimes it sends a NAPTR request for <a
href="http://ws1.voipgateway.org" class=""
moz-do-not-send="true">ws1.voipgateway.org</a>...<br
class="">
<br class="">
IMHO the same randomness decides if everything works or
fails: If it interprets the NAPTR replies as "contains
no answer", then the SRV requests are also sent and
interpreted correctly.<br class="">
If the first request is mistakenly handled like a
timeout, all the other requests are not sent and the
whole process seems to block somewhere.<br class="">
<br class="">
Some timing issue in the DNS resolve threads?<br
class="">
<br class="">
Cheers<br class="">
Till<br class="">
<br class="">
On 30.11.22 15:42, <a
href="mailto:g4-lisz@tonarchiv.ch"
class="moz-txt-link-freetext" moz-do-not-send="true">g4-lisz@tonarchiv.ch</a>
wrote:<br class="">
<blockquote type="cite" class="">Hi<br class="">
<br class="">
thank you for your replies.<br class="">
<br class="">
I'm a bit more familiar with DNS than with VOIP... If
I get it right the NAPTR is optional and SIP should
work without it.<br class="">
<br class="">
CNAME can always be a reply to a DNS lookup, it just
means: The name you are looking for is an alias, i.e.
<a href="http://guest1.voipgateway.org" class=""
moz-do-not-send="true">guest1.voipgateway.org</a> is
a virtual domain. IMHO Blink does the right thing and
sends a second request for <a
href="http://ws1.voipgateway.org" class=""
moz-do-not-send="true">ws1.voipgateway.org</a>.<br
class="">
<br class="">
But for <a href="http://ws1.voipgateway.org" class=""
moz-do-not-send="true">ws1.voipgateway.org</a>
there's a NAPTR either. The SOA reply only means that
this an authoritative answer.<br class="">
<br class="">
IMHO the problem comes with the second DNS reply which
contains only a SOA. Blink seams not to handle this
and runs into a timeout.<br class="">
<br class="">
Strangely enough the whole issue doesn't always appear
and all works fine sometimes. Then I get the same log
lines like Timen de Mes:<br class="">
<br class="">
2022-11-30 15:35:49.340913 [blink 2]: DNS lookup NAPTR
<a href="http://guest1.voipgateway.org" class=""
moz-do-not-send="true">guest1.voipgateway.org</a>
failed: DNS response contains no answer<br class="">
2022-11-30 15:35:49.405083 [blink 2]: DNS lookup SRV
_sip._<a href="http://udp.guest1.voipgateway.org"
class="" moz-do-not-send="true">udp.guest1.voipgateway.org</a>
failed: DNS record does not exist<br class="">
2022-11-30 15:35:49.463001 [blink 2]: DNS lookup SRV
_sip._<a href="http://tcp.guest1.voipgateway.org"
class="" moz-do-not-send="true">tcp.guest1.voipgateway.org</a>
failed: DNS record does not exist<br class="">
2022-11-30 15:35:59.932458 [blink 2]: DNS lookup SRV
_sips._<a href="http://tcp.guest1.voipgateway.org"
class="" moz-do-not-send="true">tcp.guest1.voipgateway.org</a>
failed: DNS record does not exist<br class="">
2022-11-30 15:35:59.960770 [blink 2]: DNS lookup A <a
href="http://guest1.voipgateway.org" class=""
moz-do-not-send="true">guest1.voipgateway.org</a>
succeeded, ttl=3600: 212.117.203.57<br class="">
<br class="">
Best regards<br class="">
Till<br class="">
<br class="">
On 30.11.22 12:10, Adrian Georgescu wrote:<br class="">
<blockquote type="cite" class="">$dig cname <a
href="http://guest1.voipgateway.org" class=""
moz-do-not-send="true">guest1.voipgateway.org</a><br
class="">
<br class="">
;; QUESTION SECTION:<br class="">
;<a href="http://guest1.voipgateway.org" class=""
moz-do-not-send="true">guest1.voipgateway.org</a>.
IN CNAME<br class="">
<br class="">
;; ANSWER SECTION:<br class="">
<a href="http://guest1.voipgateway.org" class=""
moz-do-not-send="true">guest1.voipgateway.org</a>.
21600 IN CNAME <a
href="http://ws1.voipgateway.org" class=""
moz-do-not-send="true">ws1.voipgateway.org</a>.<br
class="">
<br class="">
The CNAME should not be there for the domain name.<br
class="">
<br class="">
—<br class="">
Adrian<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
<blockquote type="cite" class="">On 30 Nov 2022, at
07:15, Tijmen de Mes <<a
href="mailto:tijmen@ag-projects.com"
class="moz-txt-link-freetext"
moz-do-not-send="true">tijmen@ag-projects.com</a>>
wrote:<br class="">
<br class="">
Hi,<br class="">
<br class="">
I looked at it a bit more and the fact that a
CNAME is returned could happen.<br class="">
<br class="">
However in my Blink I can’t reproduce this fault,
I used the domain <a
href="http://guest1.voipgateway.org" class=""
moz-do-not-send="true">guest1.voipgateway.org</a>
and I could register(?), if I made a call I got a
prompt.<br class="">
<br class="">
This is how my logs look:<br class="">
<br class="">
1 2022-11-30 10:59:46.901093 [blink 4977]: DNS
lookup NAPTR <a
href="http://guest1.voipgateway.org" class=""
moz-do-not-send="true">guest1.voipgateway.org</a>
failed: DNS response contains no answer<br
class="">
2 2022-11-30 10:59:46.901540 [blink 4977]: DNS
lookup SRV _sips._<a
href="http://tcp.guest1.voipgateway.org"
class="" moz-do-not-send="true">tcp.guest1.voipgateway.org</a>
failed: DNS record does not exist<br class="">
3 2022-11-30 10:59:46.901950 [blink 4977]: DNS
lookup SRV _sip._<a
href="http://tcp.guest1.voipgateway.org"
class="" moz-do-not-send="true">tcp.guest1.voipgateway.org</a>
failed: DNS record does not exist<br class="">
4 2022-11-30 10:59:46.902359 [blink 4977]: DNS
lookup SRV _sip._<a
href="http://udp.guest1.voipgateway.org"
class="" moz-do-not-send="true">udp.guest1.voipgateway.org</a>
failed: DNS record does not exist<br class="">
5 2022-11-30 10:59:46.902618 [blink 4977]: DNS
lookup A <a href="http://guest1.voipgateway.org"
class="" moz-do-not-send="true">guest1.voipgateway.org</a>
succeeded, ttl=2675: 212.117.203.57<br class="">
<br class="">
I don’t have the flatpack so I can’t tell you if
something is wrong in there. The lookups are
handled by python3-sipsimple.<br class="">
<br class="">
Best regards,<br class="">
<br class="">
Timen de Mes<br class="">
—<br class="">
AG Projects<br class="">
<br class="">
<blockquote type="cite" class="">Op 30 nov. 2022,
om 10:35 heeft Tijmen de Mes <<a
href="mailto:tijmen@ag-projects.com"
class="moz-txt-link-freetext"
moz-do-not-send="true">tijmen@ag-projects.com</a>>
het volgende geschreven:<br class="">
<br class="">
Hi,<br class="">
<br class="">
The fact that you see the timeouts could be a
bug.<br class="">
<br class="">
The problem is that a NAPTR does exist and is a
CNAME? I’ve never seen this and I am not sure
this is even valid in DNS.<br class="">
<br class="">
AFAIK a NAPTR in this case should return
something like:<br class="">
<br class="">
20 100 "s" "SIP+D2U" "" _sip._<a
href="http://udp.sip2sip.info" class=""
moz-do-not-send="true">udp.sip2sip.info</a>.<br
class="">
10 100 "s" "SIP+D2T" "" _sip._<a
href="http://tcp.sip2sip.info" class=""
moz-do-not-send="true">tcp.sip2sip.info</a>.<br
class="">
25 100 "s" "SIPS+D2T" "" _sips._<a
href="http://tcp.sip2sip.info" class=""
moz-do-not-send="true">tcp.sip2sip.info</a>.<br
class="">
<br class="">
After this a SRV lookup would be done.<br
class="">
<br class="">
Are you able to register your account?<br
class="">
<br class="">
<br class="">
Best regards,<br class="">
<br class="">
Tijmen de Mes<br class="">
—<br class="">
AG Projects<br class="">
<br class="">
<blockquote type="cite" class="">Op 29 nov.
2022, om 17:44 heeft <a
href="mailto:g4-lisz@tonarchiv.ch"
class="moz-txt-link-freetext"
moz-do-not-send="true">g4-lisz@tonarchiv.ch</a>
het volgende geschreven:<br class="">
<br class="">
Hi there<br class="">
<br class="">
A few days ago I updated my OS to Pop! OS /
Ubuntu 22.04 LTS with the Blink flatpack
V5.5.0<br class="">
<br class="">
A few times it worked flawlessly, but most of
the time, starting a call lags a lot and it
simply fails with a beep after a few minutes
without any further message.<br class="">
<br class="">
The logs shows issues with DNS:<br class="">
<br class="">
2022-11-29 15:22:37.533993 [blink 2]: DNS
lookup NAPTR <a
href="http://guest1.voipgateway.org"
class="" moz-do-not-send="true">guest1.voipgateway.org</a>
failed: no DNS response received, the query
has timed out<br class="">
2022-11-29 15:22:37.534465 [blink 2]: DNS
lookup SRV _sip._<a
href="http://udp.guest1.voipgateway.org"
class="" moz-do-not-send="true">udp.guest1.voipgateway.org</a>
failed: no DNS response received, the query
has timed out<br class="">
2022-11-29 15:22:37.534699 [blink 2]: DNS
lookup SRV _sip._<a
href="http://tcp.guest1.voipgateway.org"
class="" moz-do-not-send="true">tcp.guest1.voipgateway.org</a>
failed: no DNS response received, the query
has timed out<br class="">
2022-11-29 15:22:37.534909 [blink 2]: DNS
lookup SRV _sips._<a
href="http://tcp.guest1.voipgateway.org"
class="" moz-do-not-send="true">tcp.guest1.voipgateway.org</a>
failed: no DNS response received, the query
has timed out<br class="">
2022-11-29 15:22:37.535100 [blink 2]: DNS
lookup A <a
href="http://guest1.voipgateway.org"
class="" moz-do-not-send="true">guest1.voipgateway.org</a>
failed: no DNS response received, the query
has timed out<br class="">
2022-11-29 15:22:37.637499 [blink 2]: DNS
lookup TXT <a
href="http://xcap.guest1.voipgateway.org"
class="" moz-do-not-send="true">xcap.guest1.voipgateway.org</a>
failed: DNS record does not exist<br class="">
2022-11-29 15:23:08.049049 [blink 2]: DNS
lookup NAPTR <a
href="http://guest1.voipgateway.org"
class="" moz-do-not-send="true">guest1.voipgateway.org</a>
failed: no DNS response received, the query
has timed out<br class="">
2022-11-29 15:23:08.049976 [blink 2]: DNS
lookup SRV _sips._<a
href="http://tcp.guest1.voipgateway.org"
class="" moz-do-not-send="true">tcp.guest1.voipgateway.org</a>
failed: no DNS response received, the query
has timed out<br class="">
2022-11-29 15:23:08.050817 [blink 2]: DNS
lookup SRV _sip._<a
href="http://tcp.guest1.voipgateway.org"
class="" moz-do-not-send="true">tcp.guest1.voipgateway.org</a>
failed: no DNS response received, the query
has timed out<br class="">
2022-11-29 15:23:08.051510 [blink 2]: DNS
lookup SRV _sip._<a
href="http://udp.guest1.voipgateway.org"
class="" moz-do-not-send="true">udp.guest1.voipgateway.org</a>
failed: no DNS response received, the query
has timed out<br class="">
2022-11-29 15:23:08.052161 [blink 2]: DNS
lookup A <a
href="http://guest1.voipgateway.org"
class="" moz-do-not-send="true">guest1.voipgateway.org</a>
failed: no DNS response received, the query
has timed out<br class="">
2022-11-29 15:23:38.498519 [blink 2]: DNS
lookup NAPTR <a
href="http://guest1.voipgateway.org"
class="" moz-do-not-send="true">guest1.voipgateway.org</a>
failed: no DNS response received, the query
has timed out<br class="">
2022-11-29 15:23:38.498998 [blink 2]: DNS
lookup SRV _sip._<a
href="http://udp.guest1.voipgateway.org"
class="" moz-do-not-send="true">udp.guest1.voipgateway.org</a>
failed: no DNS response received, the query
has timed out<br class="">
2022-11-29 15:23:38.499612 [blink 2]: DNS
lookup SRV _sip._<a
href="http://tcp.guest1.voipgateway.org"
class="" moz-do-not-send="true">tcp.guest1.voipgateway.org</a>
failed: no DNS response received, the query
has timed out<br class="">
2022-11-29 15:23:38.500547 [blink 2]: DNS
lookup SRV _sips._<a
href="http://tcp.guest1.voipgateway.org"
class="" moz-do-not-send="true">tcp.guest1.voipgateway.org</a>
failed: no DNS response received, the query
has timed out<br class="">
2022-11-29 15:23:38.501826 [blink 2]: DNS
lookup A <a
href="http://guest1.voipgateway.org"
class="" moz-do-not-send="true">guest1.voipgateway.org</a>
failed: no DNS response received, the query
has timed out<br class="">
2022-11-29 15:24:08.946267 [blink 2]: DNS
lookup NAPTR <a
href="http://guest1.voipgateway.org"
class="" moz-do-not-send="true">guest1.voipgateway.org</a>
failed: no DNS response received, the query
has timed out<br class="">
<br class="">
and so on.<br class="">
<br class="">
But in reality there are no DNS timeouts. IMHO
the issue is that Blink doesn't handle the DNS
answers right and then somehow deadlocks on
the first NATPR request.<br class="">
<br class="">
I did some sniffing on port 53 and there are
no DNS requests for SRV:<br class="">
<br class="">
192.168.178.23 192.168.178.1
DNS 82 Standard query 0x1eab NAPTR <a
href="http://guest1.voipgateway.org"
class="" moz-do-not-send="true">guest1.voipgateway.org</a><br
class="">
192.168.178.1 192.168.178.23
DNS 162 Standard query response 0x1eab
NAPTR <a href="http://guest1.voipgateway.org"
class="" moz-do-not-send="true">guest1.voipgateway.org</a>
CNAME <a href="http://ws1.voipgateway.org"
class="" moz-do-not-send="true">ws1.voipgateway.org</a>
SOA <a href="http://ns1.backbone.ch" class=""
moz-do-not-send="true">ns1.backbone.ch</a><br
class="">
192.168.178.23 192.168.178.1
DNS 79 Standard query 0x3a0b NAPTR <a
href="http://ws1.voipgateway.org" class=""
moz-do-not-send="true">ws1.voipgateway.org</a><br
class="">
192.168.178.1 192.168.178.23
DNS 141 Standard query response 0x3a0b
NAPTR <a href="http://ws1.voipgateway.org"
class="" moz-do-not-send="true">ws1.voipgateway.org</a>
SOA <a href="http://ns1.backbone.ch" class=""
moz-do-not-send="true">ns1.backbone.ch</a><br
class="">
[ ..nothing concerning VOIP...]<br class="">
192.168.178.23 192.168.178.1
DNS 82 Standard query 0xb5c0 NAPTR <a
href="http://guest1.voipgateway.org"
class="" moz-do-not-send="true">guest1.voipgateway.org</a><br
class="">
192.168.178.1 192.168.178.23
DNS 162 Standard query response 0xb5c0
NAPTR <a href="http://guest1.voipgateway.org"
class="" moz-do-not-send="true">guest1.voipgateway.org</a>
CNAME <a href="http://ws1.voipgateway.org"
class="" moz-do-not-send="true">ws1.voipgateway.org</a>
SOA <a href="http://ns1.backbone.ch" class=""
moz-do-not-send="true">ns1.backbone.ch</a><br
class="">
192.168.178.23 192.168.178.1
DNS 79 Standard query 0x5cba NAPTR <a
href="http://ws1.voipgateway.org" class=""
moz-do-not-send="true">ws1.voipgateway.org</a><br
class="">
192.168.178.1 192.168.178.23
DNS 141 Standard query response 0x5cba
NAPTR <a href="http://ws1.voipgateway.org"
class="" moz-do-not-send="true">ws1.voipgateway.org</a>
SOA <a href="http://ns1.backbone.ch" class=""
moz-do-not-send="true">ns1.backbone.ch</a><br
class="">
[ ..nothing concerning VOIP...]<br class="">
192.168.178.23 192.168.178.1
DNS 82 Standard query 0x63b5 NAPTR <a
href="http://guest1.voipgateway.org"
class="" moz-do-not-send="true">guest1.voipgateway.org</a><br
class="">
192.168.178.1 192.168.178.23
DNS 162 Standard query response 0x63b5
NAPTR <a href="http://guest1.voipgateway.org"
class="" moz-do-not-send="true">guest1.voipgateway.org</a>
CNAME <a href="http://ws1.voipgateway.org"
class="" moz-do-not-send="true">ws1.voipgateway.org</a>
SOA <a href="http://ns1.backbone.ch" class=""
moz-do-not-send="true">ns1.backbone.ch</a><br
class="">
192.168.178.23 192.168.178.1
DNS 79 Standard query 0x6dce NAPTR <a
href="http://ws1.voipgateway.org" class=""
moz-do-not-send="true">ws1.voipgateway.org</a><br
class="">
<br class="">
The queries timeout occurs because Blink does
not issue the requests. IMHO Blink does not
handle the SOA replies and somehow deadlocks,
so other requests are never sent.<br class="">
<br class="">
Instead it should simply return: NAPTR record
does not exist. Go on...<br class="">
<br class="">
Cheers<br class="">
Till<br class="">
<br class="">
_______________________________________________<br class="">
Blink mailing list<br class="">
<a href="mailto:Blink@lists.ag-projects.com"
class="moz-txt-link-freetext"
moz-do-not-send="true">Blink@lists.ag-projects.com</a><br
class="">
<a class="moz-txt-link-freetext" href="https://lists.ag-projects.com/mailman/listinfo/blink">https://lists.ag-projects.com/mailman/listinfo/blink</a><br class="">
</blockquote>
_______________________________________________<br
class="">
Blink mailing list<br class="">
<a href="mailto:Blink@lists.ag-projects.com"
class="moz-txt-link-freetext"
moz-do-not-send="true">Blink@lists.ag-projects.com</a><br
class="">
<a class="moz-txt-link-freetext" href="https://lists.ag-projects.com/mailman/listinfo/blink">https://lists.ag-projects.com/mailman/listinfo/blink</a><br class="">
</blockquote>
_______________________________________________<br
class="">
Blink mailing list<br class="">
<a href="mailto:Blink@lists.ag-projects.com"
class="moz-txt-link-freetext"
moz-do-not-send="true">Blink@lists.ag-projects.com</a><br
class="">
<a class="moz-txt-link-freetext" href="https://lists.ag-projects.com/mailman/listinfo/blink">https://lists.ag-projects.com/mailman/listinfo/blink</a><br class="">
</blockquote>
<br class="">
_______________________________________________<br
class="">
Blink mailing list<br class="">
<a href="mailto:Blink@lists.ag-projects.com"
class="moz-txt-link-freetext"
moz-do-not-send="true">Blink@lists.ag-projects.com</a><br
class="">
<a class="moz-txt-link-freetext" href="https://lists.ag-projects.com/mailman/listinfo/blink">https://lists.ag-projects.com/mailman/listinfo/blink</a><br
class="">
</blockquote>
_______________________________________________<br
class="">
Blink mailing list<br class="">
<a href="mailto:Blink@lists.ag-projects.com"
class="moz-txt-link-freetext" moz-do-not-send="true">Blink@lists.ag-projects.com</a><br
class="">
<a class="moz-txt-link-freetext" href="https://lists.ag-projects.com/mailman/listinfo/blink">https://lists.ag-projects.com/mailman/listinfo/blink</a><br
class="">
</blockquote>
_______________________________________________<br
class="">
Blink mailing list<br class="">
<a href="mailto:Blink@lists.ag-projects.com"
class="moz-txt-link-freetext" moz-do-not-send="true">Blink@lists.ag-projects.com</a><br
class="">
<a class="moz-txt-link-freetext" href="https://lists.ag-projects.com/mailman/listinfo/blink">https://lists.ag-projects.com/mailman/listinfo/blink</a><br
class="">
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
Blink mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Blink@lists.ag-projects.com">Blink@lists.ag-projects.com</a>
<a class="moz-txt-link-freetext" href="https://lists.ag-projects.com/mailman/listinfo/blink">https://lists.ag-projects.com/mailman/listinfo/blink</a>
</pre>
</blockquote>
</body>
</html>