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! 🙂
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! 🙂