Skip to content

Catch exception properly when DNS answers with "empty" response. #4

Description

@uwekamper

In some cases, the unbound in the docker setup responds with an empty list and dnspython throws an exception:

smtp_dane_verify.dns_records.MxRecordError: An error occurred: All nameservers failed to answer the query some-domain.com. IN MX: Server Do53:172.18.0.3@53 answered SERVFAIL

smtp-dane-verify should report the error properly. Currently it only responds with "Internal server error".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions