Linux-hosts

hosts文件
/etc/hosts

OS	hosts (path)	使其生效,命令行执行
Windows (C:\Windows\System32\drivers\etc\hosts) >ipconfig /flushdns
Linux (/etc/hosts) $sudo systemctl restart NetworkManager
Mac (/etc/hosts) $sudo killall -HUP mDNSResponder
iOS (/etc/hosts)
Android (/etc/hosts)

手机直接重新启动一下即可
(稍老的linux版本)sudo rcnscd restart

DNS配置文件
/etc/resolv.conf

域名相关的优先级设定
/etc/nsswitch.conf

纯文本文件,公认的常用端口号及服务名称
/etc/services

协议列表
/etc/protocols

hosts文件下载
https://github.com/googlehosts/hosts
http://ppt.chnlib.com/other/hosts.html

最新文章

  1. zoj3806Incircle and Circumcircle
  2. Atitit.eclipse 4.3 4.4  4.5 4.6新特性
  3. windows phone Datepicker Timepicker
  4. PhoneCat App 教程
  5. TIF、JPG图片手动添加地理坐标的方法(转载)
  6. Java Day 15
  7. Visual studio 2013 添加 GitHub
  8. try、catch、finally的使用分析---与 return 相关
  9. Python资源汇集
  10. Scut:缓存管理
  11. IOS开发-表视图LV3导航控制器
  12. JavaScript数字例子,二分法,冒泡排序
  13. Jquery($第一天)【历史】
  14. 文本编辑利器Notepad++ 10个强大而又鲜为人知的特性【转】
  15. Unity3D判断当前所在平台
  16. Redlock(redis分布式锁)原理分析
  17. 几种事务的隔离级别,InnoDB如何实现?
  18. Jedis cluster命令执行流程剖析
  19. Zero-shot learning(零样本学习)
  20. html5 canvas路径绘制2

热门文章

  1. Java8新特性——Optional
  2. java是什么
  3. 吴裕雄 Bootstrap 前端框架开发——Bootstrap 排版:标题
  4. TensorFlow样例一
  5. [经验] Java 使用 netty 框架, 向 Unity 客户端的 C# 实现通信 [1]
  6. 设置npm源的几种方式
  7. Codeforces1301D
  8. Java 正则?:?=?!的理解
  9. esxi虚拟机无法开机,提示“没有更多空间可供虚拟磁盘server-000001.vmdk使用。也许通过释放相关卷上的磁盘空间并单击 重试 继续此会话,单击 取消 可终止此会话”
  10. c++ 关键字this的用法简介