1 diff --git a/src/dnsmasq.c b/src/dnsmasq.c
2 index e1d3bbd..99e5437 100644
5 @@ -358,7 +358,8 @@ int main (int argc, char **argv)
9 - if (daemon->port != 0 || daemon->dhcp || daemon->doing_dhcp6)
10 + if ((daemon->port != 0 || daemon->dhcp || daemon->doing_dhcp6)
11 + && (!option_bool(OPT_NO_RESOLV) || daemon->dynamic_dirs))
12 inotify_dnsmasq_init();
14 daemon->inotifyfd = -1;