--- embedaddon/dnsmasq/man/dnsmasq.8 2021/03/17 00:56:46 1.1.1.4 +++ embedaddon/dnsmasq/man/dnsmasq.8 2023/09/27 11:02:08 1.1.1.5 @@ -1,4 +1,4 @@ -.TH DNSMASQ 8 2020-04-05 +.TH DNSMASQ 8 2021-08-16 .SH NAME dnsmasq \- A lightweight DHCP and caching DNS server. .SH SYNOPSIS @@ -55,11 +55,13 @@ Don't read the hostnames in /etc/hosts. .B \-H, --addn-hosts= Additional hosts file. Read the specified file as well as /etc/hosts. If \fB--no-hosts\fP is given, read only the specified file. This option may be repeated for more than one -additional hosts file. If a directory is given, then read all the files contained in that directory. +additional hosts file. If a directory is given, then read all the files contained in that directory +in alphabetical order. .TP .B --hostsdir= Read all the hosts files contained in the directory. New or changed files -are read automatically. See \fB--dhcp-hostsdir\fP for details. +are read automatically and modified and deleted files have removed records +automatically deleted. .TP .B \-E, --expand-hosts Add the domain to simple names (without a period) in /etc/hosts @@ -104,6 +106,16 @@ Dnsmasq limits the value of this option to one hour, u .B --auth-ttl=