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

SERVFAIL and REFUSED errors #6

Open
fcristianacc opened this issue Mar 13, 2018 · 2 comments
Open

SERVFAIL and REFUSED errors #6

fcristianacc opened this issue Mar 13, 2018 · 2 comments

Comments

@fcristianacc
Copy link

Hi! 🙂
I would like to know how to implement my code in order to return SERVFAIL and REFUSED errors. I am using Lookup(String domain, int Type.CAA) and when it finds CAA records there are no errors (Rcode = 0 (NOERROR)). The RFC 6844 says that this is only valid for not null records. Accordingly, when the records are empty, I can not catch these errors along the lookup, since the records must include something.
The expired.caatestsuite-dnssec.com and missing.caatestsuite-dnssec.com domains have the same problem because, as its description indicates, it supposed there is no record.
I would appreciate any help and I hope you have understood my point.
Thank you so much and best regards! 🙂

@AGWA
Copy link
Member

AGWA commented Mar 13, 2018

Unfortunately, I'm not sure what you are asking. It might help if you could explain what you are trying to accomplish. Are you trying to set up the CAA test suite and want to know how to induce SERVFAIL and REFUSED errors? Are you trying to implement CAA checking code, as a CA would? Or something else?

@fcristianacc
Copy link
Author

fcristianacc commented Mar 15, 2018

I'm sorry. It was a little confused.
Exactly! My question is how to induce SERVFAIL and REFUSED errors, because when I'm using the Lookup for the servfail, refused, and even the expired and missing.caatestsuite-dnssec.com domains, it is returned an empty list of CAA records. In addition, it is shown in my console an error message with the NXDOMAIN Rcode.
Thank you for your valuable help!

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

No branches or pull requests

2 participants