Closed hanazuki closed 4 months ago
The failing test looks unrelated to this patch: https://github.com/ruby/resolv/actions/runs/8078401965/job/22070645994?pr=48
Yes, Windows platform failed sometimes with Errno::EACCES: Permission denied - bind(2) for "127.0.0.1" port 53896
.
:heart:
This patch implements handling of CAA resource records defined by RFC8659. Based on https://github.com/ruby/ruby/pull/1732 by @aeris, with tests added and some changes:
CAA
class is defined as a class-independent RRType.CAA
class storesflags
field (a 1-octet bitset) as an Integer. In this way it's easier to ensure the encoded RR is in the valid wire format.