DNS resolution failed when accessing StackOverflow.com

Consider modifying the DNS configuration in the hosts file to automatically map Stackoverflow.com to an IP address. But what is the address for StackOverflow.com? You can obtain the value by running the following command

nslookup -vc stackoverflow.com 8.8.8.8
Copy the code

Retrieve the IP address using Google’s DNS and return the following

Can be found inC:\Windows\System32\drivers\etc\hostsAdd a mapping to the file

Type stackOverflow’s url again and there you go!

This can also be used to resolve DNS rejections from sites like Github.com…