sudo apt-get update Temporary failure resolving in WSL 2
Environment
Windows build number: Microsoft Windows [Version 10.0.18363.1379]
Your Distribution version: Release: 20.04 (Ubuntu)
Whether the issue is on WSL 2 and/or WSL 1: Linux version 5.4.72-microsoft-standard-WSL2 (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Wed Oct 28 23:40:43 UTC 2020
Steps to reproduce
WSL logs:

Expected behavior
I am in WSL 1. But yesterday, I updated to WSL 2. But today, when I run sudo apt-get update, I am unable to update. Even on sudo apt-get upgrade doesn't work. I want to update. But it always shows me the Error. Please help
Actual behavior

I just switch to WSL version 1 and sudo apt-get update and sudo apt-get upgrade works fine. And also, the remote connection to VS Code is working now. But when I switch back to WSL version 2, sudo apt-get update and sudo apt-get upgrade doesn't work, also the remote connection to VS code is not working. Just what is going on? Did I messed up something?
Here's an example of what I said above about WSL 1:

Remote Development of VS Code on the left, sudo apt-get update and sudo apt-get upgrade on the right. It is working on WSL 1. But not on WSL 2.
Here's what happen when I switch to WSL 2:

/dupe #5256
Hi! We've identified this issue as a duplicate of another one that already exists in this repository. This specific instance is being closed in favor of tracking the concern over on the referenced thread.
Thanks for your report!