Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
wayneski
New Contributor II

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

1 Solution
wayneski
New Contributor II

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!

View solution in original post

4 REPLIES 4
Markus_M
Staff & Editor
Staff & Editor

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

- Markus
wayneski
New Contributor II

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

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?

 

- Markus
wayneski
New Contributor II

Ok sure, marked as answer. No reconfiguration needed, just open "WSL Settings" app, go to Networking -> Networking mode and select Mirrored and restart WSL.

Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors