<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hi Dominik and Simon,</p>
    <p>I like the idea, but not so much the implementation. This table
      is processed per packet and is quite inefficient. The more types
      we add to it, the more inefficient it becomes. What about
      transformation to more computer friendly version, which does not
      have to iterate over all records one by one.</p>
    <p>I made optimized version of above and used Dominik's data with
      some regexps to convert it to different format. It is slightly
      less human friendly, but much more machine friendly. I think it
      scales well.<br>
    </p>
    <p>Logging each query would be slow anyway, but we should not waste
      CPU cycles previous way.</p>
    <p>What do you think?</p>
    <p>Cheers,</p>
    <p>Petr<br>
    </p>
    <div class="moz-cite-prefix">On 9/9/21 2:42 PM, Dominik DL6ER wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:6acf39ccb67034a97d9477770da4d484c7a70644.camel@dl6er.de">
      <pre class="moz-quote-pre" wrap="">Hey Simon,

I have a few patches for the v2.87 cycle, here is the first one:

This patch implements all known RR type strings as defined by IANA at
<a class="moz-txt-link-freetext" href="https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml">https://www.iana.org/assignments/dns-parameters/dns-parameters.xhtml</a>

This is especially important because we've seen logs that contain types
where dnsmasq doesn't know the human-friendly name. Most commonly seen
these days is <type=65> ("HTTPS") which is now used widespread by Apple
devices. We've seen reports where this query type can even make up to
20% of the overall traffic. Whether this is useful (or healthy) is
another thing.

I'm involved in the process now and get notified if the IANA RR types
table gets updated and will send new patches if this is the case.

Best,
Dominik
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Dnsmasq-discuss mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Dnsmasq-discuss@lists.thekelleys.org.uk">Dnsmasq-discuss@lists.thekelleys.org.uk</a>
<a class="moz-txt-link-freetext" href="https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss">https://lists.thekelleys.org.uk/cgi-bin/mailman/listinfo/dnsmasq-discuss</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Petr Menšík
Software Engineer
Red Hat, <a class="moz-txt-link-freetext" href="http://www.redhat.com/">http://www.redhat.com/</a>
email: <a class="moz-txt-link-abbreviated" href="mailto:pemensik@redhat.com">pemensik@redhat.com</a>
PGP: DFCF908DB7C87E8E529925BC4931CA5B6C9FC5CB</pre>
  </body>
</html>