摘要:
/etc/resolv.conf 有两个默认的值至关重要,一个是超时的 timeout,一个是重试的 attempts,默认情况下,前者是 5s 后者是 2 次。这个估计很多工程师都不是很在意,一般情况下,使用默认的值倒没什么大问题,特殊情况我会在最后说明。 要测试,不要使用 dig, host, 阅读全文
随笔档案-2018年07月
/etc/resolv.conf options rotate
2018-07-18 21:23 by Loull, 3230 阅读, 收藏, 编辑
摘要:
timeout:n sets the amount of time the resolver will wait for a response from a remote name server before retrying the query via a different name serve 阅读全文
/etc/resolv.conf文件中的search项作用
2018-07-18 20:58 by Loull, 7516 阅读, 收藏, 编辑
摘要:
resolv.conf文件中有search项时,主机名解析规则顺序: DNS配置文件如下: # vi /etc/resolv.conf # Generated by NetworkManager search openstack.local dev.com example.local nameser 阅读全文