Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/resolve.c
Original file line number Diff line number Diff line change
Expand Up @@ -384,9 +384,9 @@ static void resolveClients(const bool onlynew)
size_t ippos = client->ippos;
size_t oldnamepos = client->namepos;

// Only try to resolve host names of clients which were recently active
// Only try to resolve host names of clients which were recently active if we are re-resolving
// Limit for a "recently active" client is two hours ago
if(client->lastQuery < now - 2*60*60)
if(onlynew == false && client->lastQuery < now - 2*60*60)
{
if(config.debug & DEBUG_RESOLVER)
{
Expand Down