dns配置文件 /etc/resolv.conf中search设置详解

简介 search swg.local consul.local nameserver 103.224.222.222 dns配置文件 /etc/resolv.conf 中常看到有search 设置,之前觉得是根据search 中的域去指定nameserver,其实不是这样用的。它的一个用处是程序只须要知道主机名就能够解析到ip,没必要知道域后缀是什么。下面介绍下设置了search后的解析规则。h
相关文章
相关标签/搜索