Im running Rancher Desktop and WSL2 on windows 10.
Using the tunnel allows me to run Rancher Desktop while on my Cisco Secure Client VPN connection. But it kills DNS for me on my Ubuntu WSL2 instance
Here is an example of a lookup that worked just before before I enabled the network tunnel.
Anything I can do to make the two work together? I don't fully understand the stack, so not sure what swallows the packages that should go to port 53.
│ File: /etc/resolv.conf
───────┼───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
1 │ # This file was automatically generated by WSL. To stop automatic generation of this file, add the following entry to /etc/wsl.conf:
2 │ # [network]
3 │ # generateResolvConf = false
4 │ nameserver 172.25.112.1
───────┴───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
(⎈|rancher-desktop:default)➜ ~ dig dr.dk
;; communications error to 172.25.112.1#53: timed out
;; communications error to 172.25.112.1#53: timed out
;; communications error to 172.25.112.1#53: timed out
; <<>> DiG 9.18.18-0ubuntu0.22.04.1-Ubuntu <<>> dr.dk
;; global options: +cmd
;; no servers could be reached
172.25.112.1 is the default WSL ip address on windows
I also tried with a fixed resolv.conf with the usual suspects in there ... 1.1.1.1 and so on ... no difference. It seems to be the packages that are swallowed somewhere on the way out of the Ubuntu WSL machine.
The second I exit Rancher Desktop, DNS lookup is working again.
Im running Rancher Desktop and WSL2 on windows 10. Using the tunnel allows me to run Rancher Desktop while on my Cisco Secure Client VPN connection. But it kills DNS for me on my Ubuntu WSL2 instance
Here is an example of a lookup that worked just before before I enabled the network tunnel.
Anything I can do to make the two work together? I don't fully understand the stack, so not sure what swallows the packages that should go to port 53.
172.25.112.1 is the default WSL ip address on windows
I also tried with a fixed resolv.conf with the usual suspects in there ... 1.1.1.1 and so on ... no difference. It seems to be the packages that are swallowed somewhere on the way out of the Ubuntu WSL machine.
The second I exit Rancher Desktop, DNS lookup is working again.