diff --git a/connectd/connectd.c b/connectd/connectd.c index 4e44c49ac83e..fcc619112256 100644 --- a/connectd/connectd.c +++ b/connectd/connectd.c @@ -200,8 +200,8 @@ static bool broken_resolver(struct daemon *daemon) const char *hostname = "nxdomain-test.doesntexist"; int err; - /* If they told us to never do DNS queries, don't even do this one */ - if (!daemon->use_dns) { + /* If they told us to never do DNS queries, don't even do this one and also not if we just say that we don't */ + if (!daemon->use_dns || daemon->use_proxy_always) { daemon->broken_resolver_response = NULL; return false; }