Permanently fix DNS connectivity issues in WSL2
generateResolvConf=false to stop WSL2 from overwriting DNS on restart
chattr +i
--undo to remove immutable flags and restore automatic DNS
| Provider | Primary | Secondary |
|---|---|---|
| Cloudflare | 1.1.1.1 | 1.0.0.1 |
| 8.8.8.8 | 8.8.4.4 | |
| Quad9 | 9.9.9.9 | 149.112.112.112 |
| Mullvad | 194.242.2.9 | 194.242.2.2 |
| OpenDNS | 208.67.222.222 | 208.67.220.220 |
| Comodo | 8.26.56.26 | 8.20.247.20 |
| DNSWatch | 84.200.69.80 | 84.200.70.40 |
| Digitalcourage | 85.214.20.141 | 46.182.19.48 |
| FDN | 80.67.169.12 | 80.67.169.40 |