是否可以使得 dnsmasq 不那么冗长?
我在手册页/互联网上找不到任何提示。
我发现的唯一选项已经取消注释:
# For debugging purposes, log each DNS query as it passes through
# dnsmasq.
#log-queries
# Log lots of extra information about DHCP transactions.
#log-dhcp
答案1
dnsmasq 的长手册页列出了一些可以使某些常规操作安静下来的选项:
--quiet-dhcp, --quiet-dhcp6, --quiet-ra
Suppress logging of the routine operation of these protocols.
Errors and problems will still be logged. --quiet-dhcp and quiet-
dhcp6 are over-ridden by --log-dhcp.