General Tests
IPv4 address validation
Test group: [ipv4Validation]
The following steps should be used to test that an IPv4 address is valid:
- Test case -10100: The IPv4 address is syntactically valid in dot-decimal notation.
- Test case -10101: The IPv4 address MUST be part of a prefix categorized as "ALLOCATED" or "LEGACY" in the "Status" field in the ipv4AddressSpace.
- Test case -10102: The IPv4 address MUST NOT be part of the specialIPv4Addresses.
IPv6 address validation
Test group: [ipv6Validation]
The following steps should be used to test that an IPv6 address is valid:
- Test case -10200: The IPv6 address is in canonical textual representation format.
- Test case -10201: The IPv6 address MUST be part of an allocation of type "Global Unicast" in the ipv6AddressSpace.
- Test case -10202: The IPv6 address MUST NOT be part of the specialIPv6Addresses.
Domain Name validation
Test group: [domainNameValidation]
The following steps should be used to test that a domain name is valid:
- Test case -10300: The length of each label is between 1 and 63.
- Test case -10301: A maximum total length of 253 characters not including the last ".".
- Test case -10302: At least two labels shall exist in the domain name. See, RDAP_Technical_Implementation_Guide_2_1 section 1.10.
- Test case -10303: Each label of the domain name is a valid "A-label", "U-label", or "NR-LDH label".
Note: the latest version of the IANA IDNA Rules and Derived Property Values shall be used. See https://www.iana.org/assignments/idna-tables-11.0.0/idna-tables-11.0.0.xml.
Web URI validation
Test group: [webUriValidation]
The following steps should be used to test that a Web URI is valid:
- Test case -10400: The URI shall be syntactically valid according to RFC3986.
- Test case -10401: The scheme of the URI shall be "http" or "https".
- Test case -10402: The host of the URI shall pass the test Domain Name validation [domainNameValidation], IPv4 address validation [ipv4Validation] or IPv6 address validation [ipv6Validation].
Domain label case folding validation
Test group: [domainCaseFoldingValidation]
The following steps should be used to test that an RDAP server is processing label case conversion correctly for domain name lookups:
- Test case -10403: A subsequent RDAP lookup may be performed in the case of a domain name lookup to validate correct support for case insensitive label matching:
- For any "NR-LDH label" or "A-label" present, the RDAP response must match the response of a subsequent request converting any "NR-LDH label" or "A-label" alternating uppercase and lowercase characters (e.g., if the domain is "test.example" the RDAP response must match also for converted domain name "tEsT.ExAmPlE").
- For any "U-Label" present, in case that any of the code points support case folding, the u-label should be case-folded for the subsequent request. (e.g., if the domain is "CAFÉ.EXAMPLE" the RDAP response must match also for converted domain name "café.ExAmPlE").
- In case that the domain name in the query contains all u-labels and none of the labels can be case-folded (i.e., the script or code points do not support case folding) a subsequent query is not required.
- In case that the domain name in the query contains all u-labels and the resulting domain name to query after case-folding is the same as the original, a subsequent query is not required.