Zend certified PHP/Magento developer

ssh: Could not resolve hostname…….temporary failure in name resolution

My Windows Subsystem for Linux (WSL) was upgraded to WSL2 recently. When I type wsl -l -v in the PowerShell terminal, the following is displayed:

 NAME                   STATE           VERSION
* Ubuntu                 Running         2
  docker-desktop         Running         2
  docker-desktop-data    Running         2

However, I receive the following error when trying to connect to the server using WSL2 terminal: ssh: Could not resolve hostname fdr1: Temporary failure in name resolution. With git bash or PowerShell terminal, it works fine, but not with WSL2. What could be the issue? I use ssh adr@frd1 to access the server although not working this time with WSL terminal. I would appreciate it if someone could direct me to a solution.
Thank you!
adr