We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
应用场景:网站原来的 IP 地址无效或被封了。
实例:配置网址 github.com 的 IP 地址到本机的 hosts 文件中。
# 查看网址 github.com 当前的 IP 地址 $ nslookup github.com Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: Name: github.com Address: 13.250.177.223
在 https://github.com.ipaddress.com 中查看到 github.com 的 IPv4 Addresses 为 140.82.114.4 ,将其配置在本机的 hosts 文件中:
140.82.114.4
$ sudo vim /etc/hosts # 添加:140.82.114.4 github.com
The text was updated successfully, but these errors were encountered:
No branches or pull requests
实例:配置网址 github.com 的 IP 地址到本机的 hosts 文件中。
# 查看网址 github.com 当前的 IP 地址 $ nslookup github.com Server: 8.8.8.8 Address: 8.8.8.8#53 Non-authoritative answer: Name: github.com Address: 13.250.177.223
在 https://github.com.ipaddress.com 中查看到 github.com 的 IPv4 Addresses 为
140.82.114.4
,将其配置在本机的 hosts 文件中:$ sudo vim /etc/hosts # 添加:140.82.114.4 github.com
The text was updated successfully, but these errors were encountered: