-
Notifications
You must be signed in to change notification settings - Fork 843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tunnel errors with "cannot unmarshal DNS message" #75
Comments
I'm going to test with dnsmasq instead, but would like you to see if you can reproduce with the DNS cache daemon that is enabled by default on Ubuntu to see if you can determine what the issue might be. Thanks! |
Thanks for the report! I suspect this is related to golang/go#27546. In particular, a commenter there specifically mentions SRV responses from systemd-resolved on Ubuntu 18.04. There's an upstream systemd commit to address the issue: systemd/systemd#9828 But I have here a GCP Ubuntu instance running systemd version 239 –– and that commit landed in version 240 –– and I'm seeing correct resolution. So that may not be the whole story. |
Weird, I'm seeing this on my Ubuntu 18.04.02 with all updates installed: systemd is already the newest version (237-3ubuntu10.13) I'm trying dnsmasq and unbound now to see if it works there. |
Works fine with dnsmasq. Hopefully Ubuntu pulls in a newer version of systemd soon to get the issue resolvd (see what I did there). |
I have the exact same issue on Ubuntu on GCP. I changed my resolve.conf temporarily to 1.1.1.1 to get the tunnel service to start. Any idea if the tunnel will stay up when the resolve.conf gets overwritten by the dhcp client? |
I've tested both dnsmasq 2.79 and unbound 1.9.0 as a local dns cache on Ubuntu 18.04.02, as well as switching /etc/resolv.conf to use nameserver 1.1.1.1 at the top. With the above being tested, pretty sure this is purely a systemd-resolved issue. Hopefully they can fix and backport it soon. Perhaps cloudflare can look into the possibility to specify the DNS server IP address to use on the cli/config? |
I add to reduce/kill the tunnels to dodge this bug. Anything using ubuntu 18.04 is failing. A simplistic solution could be to use DoH with cloudflared. |
I am hitting this issue on Ubuntu 18.04.2 LTS in AWS (linux-image-4.15.0-1032-aws). I downgraded to cloudflared version 2018.8.0 as I happened to have the deb handy. This fixed the issue for me.
Is this the problematic SRV record?
|
We have just released 2019.3.0, which addresses this issue. Would y'all please try that version and let us know if it resolves your errors? |
I've already switched over from systemd-resolve to unbound to give me some more flexibility overall. Perhaps @donovan and @bigben386 can update and confirm the fix? |
One of my machines saw this problem too — confirmed 2019.3.0 fixes it. |
I can confirm it works in Ubuntu on GCP now. Thanks for the quick fix. |
Fixed for me on Ubuntu 18.04.2 LTS in AWS. |
Answering my own question about the
|
Hi, I'm trying to run cloudflared on Ubuntu 18 NVIDIA Jetson Nano (arm64), but also facing this issue even with latest 2023.7.1. Tried to install and use dnsmasq, bust still facing the same error. Any idea how to fix it? Log:
|
I'm also running into this problem with 18.04 on NVIDIA Jetson Nano SoCs Edit: I upgraded my Jetson Nano from 18.04 to 20.04 and this resolved the problem |
I'm running Ubuntu 18.04.2 LTS with kernel 4.15.0-45-generic.
The 127.0.0.53 is the default Ubuntu Server caching DNS server provided by systemd-resolve. It's set up to cache queries from 1.1.1.1 and 1.0.0.1
If I change my DNS servers in /etc/resolv.conf and hard-code to 1.1.1.1 , the tunnel will start. However, it's weird that it won't work on a default Ubuntu install.
Can you check to see if you can reproduce on your end?
The text was updated successfully, but these errors were encountered: