What's Changed
- Follow RFC owner name rules in
Validator\Name(wildcards + underscored labels) by @ChiragAgg5k in #50- Wildcard owner names are now accepted when
*is the entire leftmost label (RFC 4592); any other placement is rejected with the newFAILURE_REASON_INVALID_WILDCARD. - Underscored labels (RFC 8552) are now allowed for all record types except A/AAAA, whose owner names must remain valid host names (RFC 952, RFC 1123).
- The
Nameconstructor record type is now optional (?int $recordType = null); null applies the general domain name rules, useful for record types without aRecordtype code.
- Wildcard owner names are now accepted when
Full Changelog: 1.7.3...1.8.0