<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<div>
<div dir="ltr">
<div dir="ltr">I do not see this in the man page. </div>
<div dir="ltr"><br>
</div>
<div dir="ltr">https://thekellys.org.uk/dnsmasq/docs/dnsmasq-man.html</div>
</div>
</div>
<div id="ms-outlook-mobile-signature">
<div></div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Dnsmasq-discuss <dnsmasq-discuss-bounces@lists.thekelleys.org.uk> on behalf of Dominik Derigs via Dnsmasq-discuss <dnsmasq-discuss@lists.thekelleys.org.uk><br>
<b>Sent:</b> Thursday, December 7, 2023 10:35:25 PM<br>
<b>To:</b> ebahapo+dnsmasq@gcc.gnu.org <ebahapo+dnsmasq@gcc.gnu.org>; dnsmasq-discuss@lists.thekelleys.org.uk <dnsmasq-discuss@lists.thekelleys.org.uk><br>
<b>Subject:</b> Re: [Dnsmasq-discuss] Caching of HTTPS and SVCB records</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Hey Evandro,<br>
<br>
chaching of arbitrary types has been added this year in March and is<br>
available in the latest master code (option --cache-rr). You can even<br>
add --cache-rr=ANY to cache all records.<br>
<br>
See<br>
<a href="https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=638c7c4d20004c0f320820098e29df62a27dd2a1">https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=638c7c4d20004c0f320820098e29df62a27dd2a1</a><br>
and<br>
<a href="https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=c244d92d8a3f96e3a16b53f733190faa17004ae3">https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=c244d92d8a3f96e3a16b53f733190faa17004ae3</a><br>
<br>
and the corresponding man page entry:<br>
<br>
--cache-rr=<rrtype>[,<rrtype>...]<br>
By default, dnsmasq caches A, AAAA, CNAME and SRV DNS record types.<br>
This option adds other record types to the cache. The RR-type can be<br>
given as a name such as TXT or MX or a decimal number. A single --cache-<br>
rr option can take a comma-separated list or RR-types and more than one<br>
--cache-rr option is allowed. Use --cache-rr=ANY to enable caching for<br>
all RR-types.<br>
<br>
This feature is included in the current Pi-hole v6.0 beta testing to get<br>
a wide testing audience (it is enabled to cache ANY in Pi-hole) but more<br>
testing is always welcome!<br>
<br>
Best,<br>
Dominik<br>
<br>
On Thu, 2023-12-07 at 14:05 -0600, Evandro Menezes via Dnsmasq-discuss<br>
wrote:<br>
> Current OSes are now using the HTTPS record to query the addresses and the canonical name, as well other information important to browsers, rather than using the A and AAAA records as they used to.<br>
> <br>
> In my anecdotal experience, HTTPS queries amount to over a third of the queries.  It might make sense to cache their replies, if not to decode them and also populate the cache with any information for A, AAAA and CNAME the they may contain.<br>
> <br>
> Another record that is rising in usage in SVCB, primarily by browsers and IoT devices, to discover the DNS resolvers for DNS over HTTPS, DNS over TLS and DNS over QUIC.  Along with HTTPS, it would be interesting to add a configuration option for these records.<br>
> <br>
> If these suggestions are considered worthwhile, I’d be glad to contribute patches.<br>
> <br>
> Cheers,<br>
> <br>
<br>
<br>
_______________________________________________<br>
Dnsmasq-discuss mailing list<br>
Dnsmasq-discuss@lists.thekelleys.org.uk<br>
<a href="https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss">https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss</a><br>
</div>
</span></font></div>
</body>
</html>