LoginSignup
0
0

More than 3 years have passed since last update.

Use CMD command to temporarily modify DNS

Last updated at Posted at 2021-05-02

1. Open the search icon in the lower left corner of the computer and search for the cmd program,Right click the mouse and select "Run as administrator"

First test whether the domain name can be resolved normally

ping www.japanenka.tk

If it can communicate normally then it is not the cause of DNS,If this domain name cannot be resolved, please follow the steps below

2. Execute the following three commands in order in the command line(After entering the command, press Enter to execute)If you are using a WIFI connection, please change "Ethernet" to "WLAN"

Temporarily modify DNS to 80.80.80.80

netsh interface ip set dns Ethernet static 80.80.80.80
ipconfig /flushdns
ipconfig /registerdns

3. Then revisit the resource link

4. Revert to your local DNS

netsh interface ip set dns Ethernet dhcp
ipconfig /flushdns
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0