"statistics)\n"
" +subnet=addr (Set edns-client-subnet "
"option)\n"
+ " +[no]svcparamkeycompat (Display backward-"
+ "compatible SvcParamKey names (keyN) for non-initial entries)\n"
" +[no]tcflag (Set TC flag in query "
"(+[no]tcflag))\n"
" +[no]tcp (TCP mode (+[no]vc))\n"
if (query->lookup->expandaaaa) {
styleflags |= DNS_STYLEFLAG_EXPANDAAAA;
}
+ if (query->lookup->svcparamkeycompat) {
+ styleflags |= DNS_STYLEFLAG_SVCPARAMKEYCOMPAT;
+ }
result = dns_rdata_tofmttext(rdata, NULL, styleflags, 0, splitwidth,
" ", buf);
if (result == ISC_R_NOSPACE) {
if (query->lookup->expandaaaa) {
styleflags |= DNS_STYLEFLAG_EXPANDAAAA;
}
+ if (query->lookup->svcparamkeycompat) {
+ styleflags |= DNS_STYLEFLAG_SVCPARAMKEYCOMPAT;
+ }
if (query->lookup->multiline) {
styleflags |= DNS_STYLEFLAG_OMIT_OWNER;
styleflags |= DNS_STYLEFLAG_OMIT_CLASS;
goto exit_or_usage;
}
break;
+ case 'v': /* svcparamkeycompat */
+ FULLCHECK("svcparamkeycompat");
+ lookup->svcparamkeycompat = state;
+ break;
default:
goto invalid_option;
}
prefix-length of zero, which signals a resolver that the client's
address information must *not* be used when resolving this query.
+.. option:: +svcparamkeycompat, +nosvcparamkeycompat
+
+ This option sets [or does not set] the backward-compatible representation of
+ the Service Parameter Keys (SvcParamKeys) for SVCB records, in which case
+ the keys, which were not defined initially in :rfc:`9460` are represented
+ in their opaque "keyN"-like format, where "N" is their numerical value. The
+ default is ``+nosvcparamkeycompat``.
+
.. option:: +tcflag, +notcflag
This option sets [or does not set] the TC (TrunCation) bit in the query. The default is
looknew->nocrypto = lookold->nocrypto;
looknew->ttlunits = lookold->ttlunits;
looknew->expandaaaa = lookold->expandaaaa;
+ looknew->svcparamkeycompat = lookold->svcparamkeycompat;
looknew->qr = lookold->qr;
looknew->idnin = lookold->idnin;
looknew->idnout = lookold->idnout;
isc_refcount_t references;
bool aaonly, adflag, badcookie, besteffort, cdflag, cleared, comments,
dns64prefix, dnssec, doing_xfr, done_as_is, ednsneg, expandaaaa,
- expire, fuzzing, header_only, identify, /*%< Append an "on
- server <foo>" message
- */
+ svcparamkeycompat, expire, fuzzing, header_only,
+ identify, /*%< Append an "on server <foo>" message */
identify_previous_line, /*% Prepend a "Nameserver <foo>:"
message, with newline and tab */
idnin, idnout, ignore, multiline, need_search, new_search,