Skip to main content
wayneski
New Member
July 31, 2025
Solved

DNS not working in Windows WSL Ubuntu Shell

  • July 31, 2025
  • 1 reply
  • 1740 views

internal DNS to access some of our internal services

 

this used to work though, and today it doest .... what could have changed? 

 

Behind a Fortinet SSL VPN

Best answer by wayneski

hello, thanks for answer...

 

i am not sure if we switched from split tunnel to full tunnel dns,I would need to check with out IT dept, but i did fix the issue with a WSL setting

 

networking mode mirrored instead of NAT and now it works again for both on and off VPN

 

many thanks!

1 reply

Markus_M
Staff & Editor
Staff & Editor
July 31, 2025

Hi wayneski,

go with a packet capture when a DNS query is made.
From the WSL CLI you should be able to run some commands to see who the DNS server of that virtual system is.
sudo service systemd-resolved status
or so should give that output. Did the SSLVPN change from a split tunnel DNS to a full tunnel? I would not be surprised if the WSL may not notice that and send DNS queries to its regular intended server which however no longer receives those queries.

Best regards,

 

Markus

wayneski
wayneskiAuthorAnswer
New Member
August 1, 2025

hello, thanks for answer...

 

i am not sure if we switched from split tunnel to full tunnel dns,I would need to check with out IT dept, but i did fix the issue with a WSL setting

 

networking mode mirrored instead of NAT and now it works again for both on and off VPN

 

many thanks!

Markus_M
Staff & Editor
Staff & Editor
August 1, 2025

Hey,

 

thanks for letting us know. This might help someone else as well, you should mark your post as solved, if possible. Was there a reconfiguration of that networking mode on WSL, as it worked before?