diff options
Diffstat (limited to 'src/dnsqueue.cpp')
-rw-r--r-- | src/dnsqueue.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dnsqueue.cpp b/src/dnsqueue.cpp index 975884796..ce0422fde 100644 --- a/src/dnsqueue.cpp +++ b/src/dnsqueue.cpp @@ -71,7 +71,7 @@ public: if (usr) { resolver1.SetNS(std::string(Config->DNSServer)); - if (!resolver1.ReverseLookup(std::string(usr->host))) + if (!resolver1.ReverseLookup(std::string(usr->host), true)) { return false; } @@ -166,7 +166,7 @@ public: } if (hostname != "") { - resolver2.ForwardLookup(hostname); + resolver2.ForwardLookup(hostname, true); if (resolver2.GetFD() != -1) dnslist[resolver2.GetFD()] = this; } |