rm -f /etc/hosts
cp /etc/hosts.ori /etc/hosts 
curl -s https://gitee.com/ineo6/hosts/raw/master/hosts >> /etc/hosts

/etc/hosts.ori 是原始的 hosts 信息,如果不存在,记得备份 /etc/hosts