<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Some research into the error below indicates that INOTIFY is probably used to monitor the status of the files in the specified *dir options so dnsmasq can automatically add records from changed files. But INOTIFY is only enabled when HAVE_LINUX_NETWORK is defined and specifically for APPLE kit, HAVE_BSD_NETWORK is defined. So for MacOS, no INOTIFY and so the ‘*dirs’ facility cannot be used.<div class=""><br class=""></div><div class="">At least, that’s how it appears to me. Happy to be corrected on that.</div><div class=""><br class=""></div><div class="">No big deal as I’ll just use the *file version and rely on SIGHUP to force a re-read of all external files (except conf). But a mention of this limitation in the docs would have been appreciated. 😕<br class=""><div class="">
<br class=""><br class="">Ken G i l l e t t<br class=""><br class="">_/_/_/_/_/_/_/_/<br class=""><br class=""><br class="">
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On 18 Mar 2021, at 19:10, Ken Gillett via Dnsmasq-discuss <<a href="mailto:dnsmasq-discuss@lists.thekelleys.org.uk" class="">dnsmasq-discuss@lists.thekelleys.org.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(59, 35, 34); color: rgb(59, 35, 34); font-family: Monaco; font-size: 14px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(215, 211, 183); text-decoration: none; display: inline !important; float: none;" class="">dnsmasq: dhcp-hostsdir, dhcp-optsdir and hostsdir are not supported on this platform</span></div></blockquote></div><br class=""></div></body></html>