/etc/dnsmasq.conf
时间: 2023-08-18 21:11:32 浏览: 272
/etc/dnsmasq.conf是Dnsmasq的配置文件路径。在这个文件中,你可以配置Dnsmasq的各种选项,包括缓存大小、DNS转发、DHCP设置等。通过编辑这个文件,你可以自定义Dnsmasq的行为和功能。如果需要修改Dnsmasq的上游DNS服务器地址,可以创建一个resolv.dnsmasq.conf文件,并在其中添加上游DNS服务器的地址。你还可以通过修改Dnsmasq的配置文件dnsmasq.conf来指定resolv.dnsmasq.conf文件的路径,这样Dnsmasq就会读取这个文件中的DNS服务器配置。记得在修改配置文件之前先备份原始文件。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [使用Dnsmasq搭建本地dns服务器上网](https://blog.csdn.net/yaxuan88521/article/details/125553404)[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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
- *3* [DNSmasq详细解析及详细配置](https://blog.csdn.net/qq_21127151/article/details/121203249)[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^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文