-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Domain DNS check fails when DNS servers don't support ANY as a query type #6581
Comments
We should check |
Checking the I looked up for a #2175 and e4acbbd I don't get a clear idea what's the goal with As if a domain doesn't have |
Looks like you're right about SOA. We should try A, MX, CNAME, AAAA. In that order. |
…#6581) As query type ANY is not used by all dns servers, the domain validation function checks for an A, MX, CNAME, and AAAA record (in that order).
Fixed. |
Hi,
After moving from DNS servers from bind to knot, roundcube started to fail validating e-mail addresses of some random, but valid domains. The reason is that
checkdnsrr($domain_part, 'ANY')
fails when asking to the knot dns server. There are reasons for DNS services to not support the ANY query type, and Cloudflare details their reasons they deprecated it 1, and also there is also work at IETF about this 2.The effect of this failing is that the user cannot send an e-mail, as the check fails. The way to solve currently is to disable the dns_check, but would it be possible to use the check A and AAAA records directly instead of ANY and keep the function working as expected instead of breaking compatibility with the DNS Servers that will not implement that query type?
A quick way to test this is to set "1.1.1.1" as the dns server (as that's provided by cloudflare).
Thanks in advance.
The text was updated successfully, but these errors were encountered: