ubuntu nameserver 127.0.1.1
来源:互联网 发布:sql server bi 编辑:程序博客网 时间:2024/06/05 18:41
参考原文:https://segmentfault.com/q/1010000002443769
环境:
Ubuntu 14.04 64bits
cat /etc/resolv.conf
包含了本地名字服务器主机和IP地址,不过在我的PC上,显示如下:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 127.0.1.1
这个看起来像localhost的地址究竟是什么意思?
因为 ubuntu下有一个本地的dns服务叫做dnsmasq
,它是由NetworkManager
控制的
ps -ef | grep dnsmasq
你就可以看到它监听的本地地址,--listen-address=127.0.1.1
(ubuntu12.04及之前的版本 是 127.0.0.1), 这个地址是一个本地回环地址
而你真实的dns服务器地址,是被这个服务管理维护着的
local process -> local dnsmasq -> router -> ISP dns
1 1
- ubuntu nameserver 127.0.1.1
- 【个人笔记】ubuntu 网络配置(IP MAC gateway nameserver)
- 解决Ubuntu重启后resolv.conf清空nameserver的问题
- 5.NameServer
- 第一章 NameServer
- Ubuntu 12.04 每次重启后,/etc/resolv.conf里面设置的nameserver就被清空
- TFS配置NameServer
- 《RocketMq》三、NameServer
- resolv.conf中的nameserver
- MQ NameServer模块划分
- Centos搭建 TFS Nameserver HA
- Linux 的nameserver-域名服务器
- RocketMQ源码分析之NameServer
- RocketMQ原理——NameServer
- linux系统--nameserver惹得祸
- linux修改nameserver方法(DNS配置)
- TFS(Taobao File System)配置NameServer
- TFS(Taobao File System)配置NameServer
- Activity创建流程
- Codeforces Round #355D (Div. 2) 暴力+BFS
- cocos2d-x Sprite::create(“filename.png”) returning null
- Maximal Square
- 【JZOJ3430】DY引擎
- ubuntu nameserver 127.0.1.1
- JavaScript跨域总结与解决办法
- sed命令--shell脚本
- html5 ios中忽略将数字变为电话号码
- 数据库设计准则(第一、第二、第三范式说明)
- 数据库设计的一些心得与经验
- HTML5页面渲染性能的”程序转换“思路
- MySQL集群的可行方案
- 【Leetcode】:28. Implement strStr()问题 in JAVA