b46d76
diff --git a/src/dnsmasq.c b/src/dnsmasq.c
b46d76
index e1d3bbd..99e5437 100644
b46d76
--- a/src/dnsmasq.c
b46d76
+++ b/src/dnsmasq.c
b46d76
@@ -358,7 +358,8 @@ int main (int argc, char **argv)
b46d76
     }
b46d76
 
b46d76
 #ifdef HAVE_INOTIFY
b46d76
-  if (daemon->port != 0 || daemon->dhcp || daemon->doing_dhcp6)
b46d76
+  if ((daemon->port != 0 || daemon->dhcp || daemon->doing_dhcp6)
b46d76
+      && (!option_bool(OPT_NO_RESOLV) || daemon->dynamic_dirs))
b46d76
     inotify_dnsmasq_init();
b46d76
   else
b46d76
     daemon->inotifyfd = -1;