question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DNS does not work after updating from 1.0.1 to 1.1.0

See original GitHub issue

Actual Behavior

DNS seems to be broken after updating from 1.1.0 (and disabling Kubernetes).

Steps to Reproduce

  • Install a Windows 11 VM
  • Install Rancher Desktop 1.1.0
  • Try pulling eg. debian

Result

> docker pull debian
Using default tag: latest
Error response from daemon: Get "https://registry-1.docker.io/v2/": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)

> nslookup www.google.com
;; connection timed out; no servers could be reached

Expected Behavior

DNS should work

Additional Information

I noticed rancher-desktop doesn’t have a /etc/resolv.conf file. Should it?

I can workaround this by manually copying resolv.conf to /etc/ from /mnt/wsl/resolv.conf, ie.

wsl -d rancher-desktop cp /mnt/wsl/resolv.conf /etc/

There were some resolv.conf issues lately, not sure if related: https://github.com/rancher-sandbox/rancher-desktop/issues/1660, https://github.com/rancher-sandbox/rancher-desktop/pull/1661

Rancher Desktop Version

1.1.0

Rancher Desktop K8s Version

Disabled

Which container runtime are you using?

moby (docker cli)

What operating system are you using?

Windows

Operating System / Build Version

Windows 11 Pro 21H2

What CPU architecture are you using?

x64

Linux only: what package format did you use to install Rancher Desktop?

No response

Windows User Only

Rancher Desktop on Windows 11, which is running in a virtual machine, ie. I’m using nested virtualization.

I’ve also enabled this: https://github.com/jgregmac/hyperv-fix-for-devs

DNS did work before applying the workaround in my Debian WSL2 distro as it already had /etc/resolv.conf.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:6
  • Comments:20 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
Nino-Kcommented, Mar 4, 2022

@ganta there is an existing issue filed for mac here.

Can you take a look to see if it’s similar to what you are experiencing? The issue seems to be specific to the M1 chip.

1reaction
mattfarinacommented, Mar 4, 2022

@ganta Yours is the first case coming from Mac which uses a different VM and DNS setup. Can you provide us with some more detail and any errors?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Set Up 1.1.1.1 DNS Server for Windows 10 - YouTube
In this video How to Change DNS Server Settings on Windows 10 . ... This tutorial will work on all hardware manufactures, like...
Read more >
Big Sur reproducible DNS resolutio… | Apple Developer Forums
Hello, Since the upgrade to Big Sur, I noticed network issues, regardless which network device is used Wi-Fi, LAN, it does not matter....
Read more >
the Internet's Fastest, Privacy-First DNS Resolver - Cloudflare
Open System Preferences. · Search for DNS Servers and select it from the dropdown. · Click the + button to add a DNS...
Read more >
How to Fix DNS_PROBE_FINISHED_NXDOMAIN Error?
Solve the DNS_PROBE_FINISHED_NXDOMAIN error, when DNS fails to lookup an IP address while accessing a website in easy steps.
Read more >
Set up Cloudflare 1.1.1.1 resolver
By default, the DNS server Open external link your devices use is provided by your Internet provider. To start using 1.1.1.1 for your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found