summaryrefslogtreecommitdiff
path: root/man/dnsmasq.8
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2015-01-20 20:51:02 +0000
committerSimon Kelley <simon@thekelleys.org.uk>2015-01-20 20:51:02 +0000
commit5f4dc5c6ca50655ab14f572c7e30815ed74cd51a (patch)
treefb71462fe15457f15ccfc91fdf39eef11e95060d /man/dnsmasq.8
parent2ae195f5a71f7c5a75717845de1bd72fc7dd67f3 (diff)
downloaddnsmasq-inotify.tar.gz
Add --dhcp-hostsdir config option.v2.73test6v2.73test5inotify
Diffstat (limited to 'man/dnsmasq.8')
-rw-r--r--man/dnsmasq.89
1 files changed, 9 insertions, 0 deletions
diff --git a/man/dnsmasq.8 b/man/dnsmasq.8
index 5cfa355..005b5cc 100644
--- a/man/dnsmasq.8
+++ b/man/dnsmasq.8
@@ -977,6 +977,15 @@ is given, then read all the files contained in that directory. The advantage of
using this option is the same as for --dhcp-hostsfile: the
dhcp-optsfile will be re-read when dnsmasq receives SIGHUP. Note that
it is possible to encode the information in a
+.TP
+.B --dhcp-hostsdir=<path>
+This is exactly equivalent to dhcp-hostfile, except for the following. The path MUST be a
+directory, and not an individual file. Changed or new files within
+the directory are read automatically, without the need to send SIGHUP.
+If a file is deleted for changed after it has been read by dnsmasq, then the
+host record it contained will remain until dnsmasq recieves a SIGHUP, or
+is restarted; ie host records are only added dynamically.
+.TP
.B --dhcp-boot
flag as DHCP options, using the options names bootfile-name,
server-ip-address and tftp-server. This allows these to be included