<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Hi,<div><br></div><div>in my experience with building yet another DNS resolver from scratch was that the gain from the shared networked cache was heavily paid in the latency.</div><div><br></div><div>I would encourage you to actually do a performance testing with cold and hot cache and my educated guess is that shared redis cache will help with bootstrapping, but once you reach a state where most of the answers are  already in the cache there’s no or negative benefit from it.</div><div><br></div><div>I believe that in most scenarios the increased complexity in not worth the benefit gained.<br><br>Ondrej<br><div dir="ltr"><div>--</div>Ondřej Surý — ISC</div><div dir="ltr"><br><blockquote type="cite">On 19 Apr 2020, at 12:27, Talkabout <talk.about@gmx.de> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="Generator" content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:1466702064;
        mso-list-type:hybrid;
        mso-list-template-ids:-1107397848 -1 67567641 67567643 67567631 67567641 67567643 67567631 67567641 67567643;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><div class="WordSection1"><p class="MsoNormal">Hi all,</p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">I am considering to switch from Unbound to Bind9 to use as DNS Server, but I have a requirement that seems to not being possible with Bind9.</p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Currently I am using 2 Unbound DNS Servers configured to use Redis (KeyDB as a drop-in replacement in my case) to make sure that both Servers are sharing the same Cache. That way, when server1 resolves an address and puts it into the backend database, server2 does not Need to execute Resolution for this address any more but gets it fast from the shared Cache.</p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">I have not found any way in the Bind9 documentation to achieve a similar Thing. So my Questions are:</p><p class="MsoNormal"><o:p> </o:p></p><ol style="margin-top:0cm" start="1" type="1"><li class="MsoListParagraph" style="margin-left:0cm;mso-list:l0 level1 lfo1">Is there a way to configure a shared Cache that is used by multiple Servers?</li><li class="MsoListParagraph" style="margin-left:0cm;mso-list:l0 level1 lfo1">Is there a way to configure custom backends for Bind9?</li><li class="MsoListParagraph" style="margin-left:0cm;mso-list:l0 level1 lfo1">Are there any plans to support similar Scenarios? Maybe via a Synchronisation mechanism?</li></ol><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Thanks!</p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Bye</p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Gesendet von <a href="https://go.microsoft.com/fwlink/?LinkId=550986">Mail</a> für Windows 10</p><p class="MsoNormal"><o:p> </o:p></p></div><span>_______________________________________________</span><br><span>Please visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list</span><br><span></span><br><span>bind-users mailing list</span><br><span>bind-users@lists.isc.org</span><br><span>https://lists.isc.org/mailman/listinfo/bind-users</span><br></div></blockquote></div></body></html>