Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION] A DNS error causes MX lookup to break MX enumeration #26

Closed
AlexeyDemidov opened this issue Apr 6, 2019 · 1 comment
Closed
Assignees
Labels
enhancement New feature or request

Comments

@AlexeyDemidov
Copy link

In a situation when we have unresolvable primary MX record but healthy backup MX records

MX 0 unresolvable.example.com.
MX 10 healthy1.example.com.
MX 20 healthy2.example.com.

validator won't be able to find backup records as a loop in mx_records method will stop on the first Resolv::ResolvError.

@bestwebua bestwebua self-assigned this Apr 7, 2019
@bestwebua bestwebua added the enhancement New feature or request label Apr 7, 2019
@bestwebua
Copy link
Member

Thanks, Alexey! I think the point of this gem is in any way possible to validate email. So if this way has no strict following of current standards it's okay. For this case it's a chance to try to establish a connection with available mx hosts and receive info about user email existence. I will remove all mentions about strict compliance of RFC 5321 for MX validator in next release. Also it may be interesting feature for gem configurator, ability to use strict RFC following or not.

@bestwebua bestwebua changed the title A DNS error causes MX lookup to break MX enumeration [QUESTION] A DNS error causes MX lookup to break MX enumeration Nov 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

2 participants