:phil.mb.example.com:7:\002pc\303\343:120
:philip.mb.example.com:9:\303\362:120
:sheila.mb.example.com:7:\004bill\303\343:120
+:test.wallet.example.com:262:\023currency-identifier\021wallet-identifier:120
:text.example.com:16:\025Hi\054\040this\040is\040some\040text:120
:text0.example.com:16:\014k\075rsa\073\040p\075one:120
:text1.example.com:16:\014k\075rsa\073\040p\075one:120
);
//NOLINTEND
+// NOLINTBEGIN
+boilerplate_conv(WALLET, conv.xfrText(d_text, true));
+// NOLINTEND
+
#ifdef HAVE_LUA_RECORDS
bool g_luaRecordInsertWhitespace;
L32RecordContent::report(guard);
L64RecordContent::report(guard);
LPRecordContent::report(guard);
+ WALLETRecordContent::report(guard);
ZONEMDRecordContent::report(guard);
}
DNSName d_fqdn;
};
+class WALLETRecordContent : public DNSRecordContent
+{
+public:
+ includeboilerplate(WALLET)
+
+ [[nodiscard]] size_t sizeEstimate() const override
+ {
+ return sizeof(*this) + d_text.size();
+ }
+
+ string d_text;
+};
+
+
class EUI48RecordContent : public DNSRecordContent
{
public:
{"URI", 256},
{"CAA", 257},
{"RESINFO", 261},
+ {"WALLET", 262},
{"DLV", 32769},
{"ADDR", 65400},
#if !defined(RECURSOR)
URI = 256,
CAA = 257,
RESINFO = 261,
+ WALLET = 262,
DLV = 32769,
ADDR = 65400,
#if !defined(RECURSOR)
-196ff1338193d25caf18c4ad61620ed7 ../regression-tests/zones/example.com
+46d06f67cb9597003fb060d051feb907 ../regression-tests/zones/example.com
5cce94d1d050925d3bb8c5271a10961b ../regression-tests/zones/test.com
e5e3ee998d151fe194b98997eaa36c53 ../regression-tests/zones/test.dyndns
dee3e8b568549d9450134b555ca73990 ../regression-tests/zones/sub.test.dyndns
9aeed2c26d0c3ba3baf22dfa9568c451 ../regression-tests/zones/2.0.192.in-addr.arpa
99c73e8b5db5781fec1ac3fa6a2662a9 ../regression-tests/zones/cryptokeys.org
1f9e19be0cff67330f3a0a5347654f91 ../regression-tests/zones/hiddencryptokeys.org
-c0c013171adc9e838fe0263150205406 ../modules/tinydnsbackend/data
-979d7e1b1f025ce8964dc29f76723232 ../modules/tinydnsbackend/data.cdb
+c0c62775abc8045753fd0012c0dd00de ../modules/tinydnsbackend/data
+c693b7034e64bcd18a53b88b1e8d1e9f ../modules/tinydnsbackend/data.cdb
--- /dev/null
+#!/bin/sh
+cleandig test.wallet.example.com WALLET
--- /dev/null
+This test tries to resolve the new WALLET RRType.
--- /dev/null
+0 test.wallet.example.com. 120 IN WALLET "currency-identifier" "wallet-identifier"
+Rcode: 0 (No Error), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
+Reply to question for qname='test.wallet.example.com.', qtype=WALLET
1 *.w3.example.com. 86400 IN RRSIG NSEC 13 3 86400 [expiry] [inception] [keytag] example.com. ...
1 *.w4.example.com. 86400 IN NSEC *.w5.example.com. CNAME RRSIG NSEC
1 *.w4.example.com. 86400 IN RRSIG NSEC 13 3 86400 [expiry] [inception] [keytag] example.com. ...
-1 *.w5.example.com. 86400 IN NSEC www.example.com. A RRSIG NSEC
+1 *.w5.example.com. 86400 IN NSEC test.wallet.example.com. A RRSIG NSEC
1 *.w5.example.com. 86400 IN RRSIG NSEC 13 3 86400 [expiry] [inception] [keytag] example.com. ...
2 . 32768 IN OPT
Rcode: 0 (No Error), RD: 0, QR: 1, TC: 0, AA: 1, opcode: 0
bar.svcb IN A 192.0.2.1
baz.svcb IN SVCB 0 foo1.svcb.example.net. ; AliasMode - should not trigger additional processing, the target is in another zone
+
+test.wallet IN WALLET "currency-identifier" "wallet-identifier"