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

Add issuemail CAA record support #193

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

rdoherty-fastly
Copy link
Contributor

When a hostname has an issuemail record, DNSRuby throws an error:

dig +short CAA esmt.org
0 issuemail "pki.dfn.de"
0 issuewild "sectigo.com"
0 issue "sectigo.com"
0 issue "pki.dfn.de"
0 issuemail "sectigo.com"
0 issue "letsencrypt.org"
resolver.query('esmt.org', 'CAA')
NoMethodError: undefined method `[]' for nil:NilClass
from /usr/local/lib/ruby/gems/3.0.0/gems/dnsruby-1.61.5/lib/dnsruby/resource/CAA.rb:47:in `from_string'

The issuemail record is a relatively new RFC: https://datatracker.ietf.org/doc/rfc9495/

I think I did this right, lmk what can be improved/changed!

@alexdalitz
Copy link
Owner

alexdalitz commented Apr 10, 2024 via email

@alexdalitz
Copy link
Owner

Looks good to me - thanks!
Let me know if you need this in a release.

@alexdalitz alexdalitz merged commit 25d124c into alexdalitz:master Apr 15, 2024
4 checks passed
@rdoherty-fastly
Copy link
Contributor Author

Thank you @alexdalitz ! Yeah it would be nice to get this in a release soon, our application that uses this Gem is unable to do some DNS checks that it needs to do and is impacting our customers. Thank you!

@alexdalitz
Copy link
Owner

OK - v1.72.1 is out now with this fix included

@rdoherty-fastly
Copy link
Contributor Author

Thank you @alexdalitz !

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.

2 participants