<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
text-align:justify;
text-justify:inter-ideograph;
font-size:10.5pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;}
/* Page Definitions */
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ZH-CN" link="#0563C1" vlink="#954F72" style="text-justify-trim:punctuation">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Dnsmasq may not store SSHFP record in the cache. You can read the source code to know which types of records will be stored in the cache. As I know, only A, AAAA, and CNAME will be stored.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">where possible relevant code is located:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#0 cache_insert (name=name@entry=0xaaaaaab82ce0 "baidu.com", addr=0xffffffffee38, addr@entry=0xaaaaaab8b3f0, class=class@entry=1, now=1648110309,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> now@entry=187649985395072, ttl=ttl@entry=517, flags=136, flags@entry=2864050188) at cache.c:476<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#1 0x0000aaaaaaac425c in extract_addresses (header=header@entry=0xaaaaaab84f40, qlen=qlen@entry=324, name=0xaaaaaab82ce0 "baidu.com", now=187649985395072,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> now@entry=187649985212416, ipsets=0x144, ipsets@entry=0x623c2ae5, is_sign=0, check_rebind=0, check_rebind@entry=-1430843392, no_cache_dnssec=-1430761664,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> no_cache_dnssec@entry=0, secure=<optimized out>, secure@entry=-1430779472, doctored=0xffffffffef24, doctored@entry=0xffffffffefd4) at rfc1035.c:835<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#2 0x0000aaaaaaadd038 in process_reply (header=header@entry=0xaaaaaab84f40, now=187649985212416, now@entry=1648110309,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> server=0xaaaaaab71ca0 <__gcov0.check_dns_listeners>, n=n@entry=324, check_rebind=-1430843392, check_rebind@entry=0, no_cache=0, cache_secure=-1430779472,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> bogusanswer=bogusanswer@entry=43690, ad_reqd=32, do_bit=0, added_pheader=<optimized out>, check_subnet=<optimized out>,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"> query_source=query_source@entry=0xaaaaaab8b980) at forward.c:737<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#3 0x0000aaaaaaae33e8 in reply_query (fd=<optimized out>, now=1648110309) at forward.c:1213<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#4 0x0000aaaaaaaea7f8 in check_dns_listeners (now=1648110309) at dnsmasq.c:1758<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">#5 0x0000aaaaaaab945c in main (argc=<optimized out>, argv=<optimized out>) at dnsmasq.c:1206<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</body>
</html>