检查 hosts 文件中是否存在手动屏蔽
某些软件/恶意软件会在 hosts 文件中添加条目,将域名重定向到 127.0.0.1。打开终端 → 编辑以下文件:
sudo nano /etc/hosts
Look for any line that maps the blocked domain to 127.0.0.1 or 0.0.0.0 and delete it. Press Ctrl+O to save, Ctrl+X to exit. Then flush the DNS cache:
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder