Skip to main content
wayneski
New Member
Jul 31, 2025 1:00 PM UTC
Solved

DNS not working in Windows WSL Ubuntu Shell

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

wayneski
wayneskiAnswer
New Member
Aug 1, 2025 7:11 AM UTC

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!

4 replies

Markus_M
Staff & Editor
Staff & Editor
Jul 31, 2025 1:52 PM UTC

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

Translate
Best regards, Markus
wayneski
wayneskiAuthorAnswer
New Member
Aug 1, 2025 7:11 AM UTC

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!

Translate
Markus_M
Staff & Editor
Staff & Editor
Aug 1, 2025 3:49 PM UTC

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?

 

Translate
Best regards, Markus
Risk and Resilience in the Age of AI. An OT Thought Leadership Summit for Houston's Critical Infrastructure Leaders. Date: Thursday, December 3, 2026. Time: 8:30 am - 1:30 pm (CT). Location: The Westin Houston, Memorial City | 945 Gessner Road, Houston, TX 77024