<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Jan 6, 2015 at 10:32 AM, Over Dexia <span dir="ltr"><<a href="mailto:over@dexia.de" target="_blank">over@dexia.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Am 06.01.2015 um 18:06 schrieb Larry Havemann:<br>
<span class="">> How about adding a flag to the rrset cache for each authority. If the<br>
> flag shows ecs support pass it to that module if not send it to regular<br>
> cache. Ask every authority not in the rrset cache if it supports ecs<br>
> before sending it the query.<br>
<br>
</span>That would induce the penalty of consulting the ecs module first for all<br>
domains supporting it, even if it isn't required by the query, which was<br>
to be avoided...<br><div class="HOEnZb"><div class="h5"><br>
</div></div></blockquote></div><br></div><div class="gmail_extra">The idea here is to use the ecs module more when enabled not less. The rrset cache is shared between the ecs module and normal unbound. So asking the rrset cache if the authority supports ecs before querying the authority does not touch the ecs module. The penalty you would take with this approach is if the authority is not yet in the rrset cache you would have to ask it if it supports ecs. But again, so long as it is documented anyone enabling ecs should know there will be a small penalty.</div><div class="gmail_extra"><br></div><div class="gmail_extra">-Larry</div></div>