cat /etc/reslove.conf
时间: 2023-10-08 21:08:10 浏览: 221
"cat /etc/resolv.conf"是一个在Linux系统中用来查看resolv.conf文件内容的命令。resolv.conf文件是用来配置DNS客户端的,其中包含了主机的域名搜索顺序和DNS服务器的地址。每一行包含一个关键字和一个或多个由空格隔开的参数。其中,nameserver关键字后面跟着的是DNS服务器的IP地址,可以有多行的nameserver,按照文件中的顺序进行查询。domain关键字声明主机的域名,search关键字指明域名查询顺序。sortlist关键字允许对域名结果进行特定的排序。你可以使用"cat /etc/resolv.conf"命令查看resolv.conf文件的具体配置信息。<span class="em">1</span><span class="em">2</span>
#### 引用[.reference_title]
- *1* [linux resolv.conf - /etc/resolve.conf配置](https://blog.csdn.net/chenngua/article/details/84627922)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *2* [linux.chm文档](https://download.csdn.net/download/u012807534/8875025)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文