Skip to content

Logs & daily report contain lots of "warning: dnsblog_query: lookup error for DNS query" #948

@capi

Description

@capi

I am new to using postscreen with DNS blacklists, I never configured them before, so maybe this is a misunderstanding on my part. To my understanding, a host is on the blacklist, if the DNS query returns a positive response.

I now see a lot of entries similar like this in the log files, and they are also reported in the daily summary e-mail as warnings:

Apr 11 09:20:26 mail postfix/dnsblog[11746]: warning: dnsblog_query: lookup error for DNS query 165.144.196.217.list.dnswl.org: Host or domain name not found
. Name service error for name=165.144.196.217.list.dnswl.org type=A: Host not found, try again

To my understanding, this indicates that the IP is not on the blacklist.

Context

Default configuration on v5.8.1

Expected Behavior

The line above should not be added to the log, and not included in the daily summary e-mail.

Actual Behavior

It is logged and as it is a warning, also reported in the daily summary e-mail.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions