在Ubuntu上启动和停止dnsmasq服务可以使用以下命令:
sudo systemctl start dnsmasq
sudo systemctl stop dnsmasq
sudo systemctl restart dnsmasq
sudo systemctl status dnsmasq
sudo systemctl enable dnsmasq
sudo systemctl disable dnsmasq
以上是常用的启动和停止dnsmasq服务的方法,可以根据需求选择适合的命令来管理dnsmasq服务。
亿速云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>