summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--runtime/dnscache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/dnscache.c b/runtime/dnscache.c
index 549bcd93..8ce1a43b 100644
--- a/runtime/dnscache.c
+++ b/runtime/dnscache.c
@@ -344,7 +344,7 @@ dbgprintf("XXXX: hostn '%s', ip '%s'\n", etry->pszHostFQDN, etry->ip);
finalize_it:
pthread_rwlock_unlock(&dnsCache.rwlock);
- if(iRet != RS_RET_OK) {
+ if(iRet != RS_RET_OK && iRet != RS_RET_ADDRESS_UNKNOWN) {
DBGPRINTF("dnscacheLookup failed with iRet %d\n", iRet);
strcpy((char*) pszHostFQDN, "???");
strcpy((char*) ip, "???");