dnsmasq dhcp
How to disable the DHCP service in dnsmasq on Linux? That is, to leave only dnsmasq’s DNS service.
如何在Linux的 dnsmasq中禁用DHCP服务? 也就是说,仅保留dnsmasq的DNS服务。
The `/etc/dnsmasq.conf` file may have lines that enable DHCP service of dnsmasq. By default, the DHCP is disabled in dnsmasq (check one example dnsmasq.conf file).
/etc/dnsmasq.conf文件可能包含启用dnsmasq的DHCP服务的行。 默认情况下 ,DHCP在dnsmasq中被禁用(请检查一个示例dnsmasq.conf文件 )。
To disable DHCP service in dnsmasq, in `/etc/dnsmasq.conf`, remove or disable the lines starting with “dhcp” and then restart the dnsmasq service.
要在dnsmasq中禁用DHCP服务,请在`/ etc / dnsmasq.conf`中删除或禁用以“ dhcp”开头的行,然后重新启动dnsmasq服务。
翻译自: https://www.systutorials.com/how-to-disable-dhcp-in-dnsmasq-on-linux/
dnsmasq dhcp