Last active
February 12, 2016 14:09
-
-
Save chenshengzhi/30e6f85b3bb55450f2c7 to your computer and use it in GitHub Desktop.
hosts and dns
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget https://raw.githubusercontent.com/racaljk/hosts/master/hosts -O ~/hosts | |
sed -i '' 's/# Modify hosts start/#user define\ | |
\#127.0.0.1 localhost\ | |
#127.0.0.1 localhost\ | |
\ | |
# Modify hosts start/g' ~/hosts | |
sudo mv ~/hosts /etc/hosts |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dns
218.85.152.99
218.85.157.99
180.76.76.76
223.5.5.5
223.6.6.6
207.97.227.239