MAC computer suddenly cannot open some webpages such as echarts, DNS problem repair

Problem Description

Recently, I have been very crazy. Many webpages cannot be opened on the MAC computer, and the DNS is completely messed up. I tried a series of operations and finally solved the problem. The following is the solution

problem solution

1. Uninstall the messy VVPN on the computer

2. Delete the DNS configuration


3. Enter the Host file and delete unnecessary configurations

Last login: Fri May 12 20:23:48 on console
XXX ~ % sudo vim /etc/hosts            
Password:

4. Run command

Last login: Fri May 12 20:23:48 on console
XXX ~ % sudo vim /etc/hosts            
Password:
XXX~ % sudo killall -HUP mDNSResponder
XXX ~ % sudo dscacheutil -flushcache   
XXX ~ % sudo dscacheutil -flushcache   
sudo killall -HUP mDNSResponder
XXX ~ %  

5. Restart the computer

you're done

Friends, let’s write here first, see you tomorrow~~

Everyone be happy every day

Everyone is welcome to point out where the article needs to be corrected~
Learning is endless, cooperation is win-win

insert image description here

Welcome the little brothers and sisters passing by to put forward better opinions~~

Guess you like

Origin blog.csdn.net/tangdou369098655/article/details/131058909