Add the new record type WALLET (262)

This provides a mapping from a domain name to a cryptographic
currency wallet and is a clone of TXT.
This commit is contained in:
Mark Andrews
2024-09-19 08:45:50 +10:00
parent 4498c0216f
commit b919b9b4f3
4 changed files with 217 additions and 0 deletions

View File

@@ -2449,6 +2449,18 @@ ISC_RUN_TEST_IMPL(sshfp) {
dns_rdatatype_sshfp, sizeof(dns_rdata_sshfp_t));
}
ISC_RUN_TEST_IMPL(wallet) {
text_ok_t text_ok[] = { TEXT_VALID_CHANGED("cid-example wid-example",
"\"cid-example\" "
"\"wid-example\""),
/*
* Sentinel.
*/
TEXT_SENTINEL() };
check_rdata(text_ok, NULL, NULL, false, dns_rdataclass_in,
dns_rdatatype_wallet, sizeof(dns_rdata_rkey_t));
}
/*
* WKS tests.
*
@@ -3153,6 +3165,7 @@ ISC_TEST_ENTRY(nxt)
ISC_TEST_ENTRY(rkey)
ISC_TEST_ENTRY(resinfo)
ISC_TEST_ENTRY(sshfp)
ISC_TEST_ENTRY(wallet)
ISC_TEST_ENTRY(wks)
ISC_TEST_ENTRY(zonemd)