Skip to content

Conversation

milesfaciane
Copy link

@milesfaciane milesfaciane commented May 31, 2024

If LookupMX returns no records, return an Error instead of causing a panic. fixes #43

If LookupMX returns no records, return an Error instead of causing a panic.
If there are no mx records, return ErrNoMXRecord.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Panic when MX record is empty
1 participant