Community discussions

MikroTik App
 
3dfx
newbie
Topic Author
Posts: 43
Joined: Sun Sep 15, 2013 6:57 pm
Location: Bulgaria

DoH: no downstream server available

Mon Nov 07, 2022 10:23 pm

Hello everyone!

From time to time my MikroTik logs the following message:
dns,warning DoH server response not OK: 502: no downstream server available
I cannot find any info on the topic.
 22:11:00 dns,packet --- got query from 192.168.11.100:17596:
 22:11:00 dns,packet id:609 rd:1 tc:0 aa:0 qr:0 ra:0 QUERY 'no error'
 22:11:00 dns,packet question: tracker.lelux.fi.:A:IN
 22:11:00 dns query from 192.168.11.100: #409897 tracker.lelux.fi. A
 22:11:00 dns,packet --- got query from 192.168.11.100:45539:
 22:11:00 dns,packet id:7e2b rd:1 tc:0 aa:0 qr:0 ra:0 QUERY 'no error'
 22:11:00 dns,packet question: tracker.lelux.fi.:AAAA:IN
 22:11:00 dns query from 192.168.11.100: #409898 tracker.lelux.fi. AAAA
 22:11:00 dns done query: #409897 tracker.lelux.fi. 95.217.161.135
 22:11:00 dns,packet --- sending reply to 192.168.11.100:17596:
 22:11:00 dns,packet id:609 rd:1 tc:0 aa:0 qr:1 ra:1 QUERY 'no error'
 22:11:00 dns,packet question: tracker.lelux.fi.:A:IN
 22:11:00 dns,packet answer:
 22:11:00 dns,packet <tracker.lelux.fi.:A:22179=95.217.161.135>
 22:11:03 dns,warning DoH server response not OK: 502: no downstream server available
 22:11:03 dns done query: #409898 dns server failure
 22:11:03 dns,packet --- sending reply to 192.168.11.100:45539:
 22:11:03 dns,packet id:7e2b rd:1 tc:0 aa:0 qr:1 ra:1 QUERY 'server failure'
 22:11:03 dns,packet question: tracker.lelux.fi.:AAAA:IN
Any ideas?
 
Sob
Forum Guru
Forum Guru
Posts: 9119
Joined: Mon Apr 20, 2009 9:11 pm

Re: DoH: no downstream server available

Tue Nov 08, 2022 3:55 am

In http, 502 (and generally all 5xx) means error on server side.
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26287
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

Re: DoH: no downstream server available

Tue Nov 08, 2022 8:20 am

It looks like DoH worked fine, but the server you are using is not able to reach it's own DNS server. So just try a different DoH server for now.
 
3dfx
newbie
Topic Author
Posts: 43
Joined: Sun Sep 15, 2013 6:57 pm
Location: Bulgaria

Re: DoH: no downstream server available

Thu Nov 10, 2022 6:48 pm

The server was 9.9.9.10. I switched to 1.1.1.1 and now I have the following:
12:15:31 dns,packet question: p4p.arenabg.com.:AAAA:IN 
12:15:31 dns query from 192.168.11.100: #469400 p4p.arenabg.com. AAAA 
12:15:31 dns,packet --- got query from 192.168.11.100:20632: 
12:15:31 dns,packet id:9ebf rd:1 tc:0 aa:0 qr:0 ra:0 QUERY 'no error' 
12:15:31 dns,packet question: p4p.arenabg.com.:A:IN 
12:15:31 dns query from 192.168.11.100: #469401 p4p.arenabg.com. A 
12:15:31 dns,error DoH server connection error: remote disconnected while in HTTP exchange 
12:15:31 dns done query: #469401 dns server failure 
12:15:31 dns,packet --- sending reply to 192.168.11.100:20632: 
12:15:31 dns,packet id:9ebf rd:1 tc:0 aa:0 qr:1 ra:1 QUERY 'server failure' 
I'm getting random DoH errors at this site from the very first implementation of DoH in MikroTik.
With similar configurations at other locations I've never had such issues...

Who is online

Users browsing this forum: No registered users and 63 guests