Community discussions

MikroTik App
 
ptomjie
just joined
Topic Author
Posts: 5
Joined: Thu Dec 16, 2021 3:48 pm

DNS issues v7.1

Thu Dec 16, 2021 4:14 pm

Dear Mikrotik colleagues,

I used DNSPod DoH DNS in 7.1 on rb450gx4.
Both the free and Pro edition work fine for me with the standard configuration.
I can see in DNS logs “DoH server response not OK: 502: <html>” when I using Pro edition.
This log prints every minute.I think this is the ros os checking the availability of the server every minute.
I'm pretty sure my DoH server is fine. I'm not sure this is a problem. When I open the URL directly from my browser, I saw this:
Snipaste_2021-12-16_22-06-03.jpg
Here is the dns log:
Snipaste_2021-12-16_22-10-53.jpg
Here is the dns setting:
Snipaste_2021-12-16_22-13-26.jpg
You do not have the required permissions to view the files attached to this post.
 
Sob
Forum Guru
Forum Guru
Posts: 9188
Joined: Mon Apr 20, 2009 9:11 pm

Re: DNS issues v7.1

Thu Dec 16, 2021 6:46 pm

If server tells the truth, code 502 means that the server works as proxy and can't reach backend server. And that would be server's problem, not client's.
 
ptomjie
just joined
Topic Author
Posts: 5
Joined: Thu Dec 16, 2021 3:48 pm

Re: DNS issues v7.1

Fri Dec 17, 2021 4:00 am

If server tells the truth, code 502 means that the server works as proxy and can't reach backend server. And that would be server's problem, not client's.
I think the server lied to protect user privac.
This Doh Server Pro edition can only be used by me.
If server doesn't lied, everyone might know the server url.
I think ros can use another way to check whether the doh server can be used.
 
User avatar
kerafyrm
just joined
Posts: 5
Joined: Sat Feb 29, 2020 6:13 am

Re: DNS issues v7.1

Mon Dec 20, 2021 7:23 am

If server tells the truth, code 502 means that the server works as proxy and can't reach backend server. And that would be server's problem, not client's.
I think the server lied to protect user privac.
This Doh Server Pro edition can only be used by me.
If server doesn't lied, everyone might know the server url.
I think ros can use another way to check whether the doh server can be used.
很明显,mikrotik 不支持doh pro
 
User avatar
own3r1138
Forum Veteran
Forum Veteran
Posts: 727
Joined: Sun Feb 14, 2021 12:33 am
Location: Pleiades
Contact:

Re: DNS issues v7.1

Mon Dec 20, 2021 8:54 am

Hello, Did you try using some other DOH like Cloudflare to verify your setup is working fine?
 
ptomjie
just joined
Topic Author
Posts: 5
Joined: Thu Dec 16, 2021 3:48 pm

Re: DNS issues v7.1

Mon Dec 20, 2021 4:28 pm



I think the server lied to protect user privac.
This Doh Server Pro edition can only be used by me.
If server doesn't lied, everyone might know the server url.
I think ros can use another way to check whether the doh server can be used.
很明显,mikrotik 不支持doh pro
你好你好,偶遇国人,支持pro的只是日志有报错,联系过他们客服,后续pro不会再返回502了
 
ptomjie
just joined
Topic Author
Posts: 5
Joined: Thu Dec 16, 2021 3:48 pm

Re: DNS issues v7.1

Mon Dec 20, 2021 4:33 pm

Hello, Did you try using some other DOH like Cloudflare to verify your setup is working fine?
Thanks Guy! Cloudflare and alidns is working fine.
I just asked and got word they won't be returing 502.
 
User avatar
own3r1138
Forum Veteran
Forum Veteran
Posts: 727
Joined: Sun Feb 14, 2021 12:33 am
Location: Pleiades
Contact:

Re: DNS issues v7.1

Mon Dec 20, 2021 4:45 pm

So if your Setup Is correct from the client side of DOH there are 3 things to check.
1 - Certificate
2 - NTP
3- DOH Server address
If none of the above then I don't think it's on your end.
 
ptomjie
just joined
Topic Author
Posts: 5
Joined: Thu Dec 16, 2021 3:48 pm

Re: DNS issues v7.1

Tue Dec 21, 2021 4:26 am

So if your Setup Is correct from the client side of DOH there are 3 things to check.
1 - Certificate
2 - NTP
3- DOH Server address
If none of the above then I don't think it's on your end.
I just checked my NTP, I haven't done any configuration before.
After enable NTP client, this log "DoH server connection error: Idle timeout - waiting data" disappeared
 
User avatar
own3r1138
Forum Veteran
Forum Veteran
Posts: 727
Joined: Sun Feb 14, 2021 12:33 am
Location: Pleiades
Contact:

Re: DNS issues v7.1

Tue Dec 21, 2021 8:11 am

@ptomjie
I'm glad that I could help you <3.
 
kenyloveg
Frequent Visitor
Frequent Visitor
Posts: 89
Joined: Tue Jul 14, 2009 3:25 pm

Re: DNS issues v7.1

Tue Dec 21, 2021 8:56 am

So if your Setup Is correct from the client side of DOH there are 3 things to check.
1 - Certificate
2 - NTP
3- DOH Server address
If none of the above then I don't think it's on your end.
For #3
Make sure your server address (/ip/dns/static) matches the fastest address searched your SSL by
https://search.censys.io/
https://myssl.com/

Who is online

Users browsing this forum: No registered users and 2 guests