<html><head></head><body><div class="ydpaf9868e7yahoo-style-wrap" style="font-family: times new roman, new york, times, serif; font-size: 16px;"><div></div>
        <div dir="ltr" data-setdir="false">Hi Brian...</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">RPZ is exactly what i was looking for... </div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"> i will try it!</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Thanks a lot!</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">Pete.</div><div><br></div>
        
        </div><div id="ydpe5c7e6b3yahoo_quoted_6239734921" class="ydpe5c7e6b3yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Thursday, December 12, 2019, 7:14:22 PM GMT+1, Brian Candler <b.candler@pobox.com> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div dir="ltr">On 12/12/2019 17:53, Pedro David Marco via Pdns-users wrote:<div class="ydpe5c7e6b3yqt7984616150" id="ydpe5c7e6b3yqtfd89352"><br clear="none">> i am using pdns-recursor and would like it to have like a local cache <br clear="none">> that can be read from a file.<br clear="none">><br clear="none">> i know pdns-recursor can read /etc/hosts file to serve entries from it <br clear="none">> before trying to reolve them... is this the best way? will it work ok <br clear="none">> for a huge hosts file?</div><br clear="none"><br clear="none">There is also <a shape="rect" href="https://doc.powerdns.com/recursor/settings.html#auth-zones" rel="nofollow" target="_blank">https://doc.powerdns.com/recursor/settings.html#auth-zones</a><br clear="none"><br clear="none">What problem are you trying to solve?  If it's to blacklist or redirect <br clear="none">millions of domains, then maybe LUA lookup or RPZ will suit you better. <br clear="none">Some references:<br clear="none"><br clear="none"><a shape="rect" href="https://www.powerdns.com/resources/2016%20UKNOF%20filtering%20bert%20hubert.pdf" rel="nofollow" target="_blank">https://www.powerdns.com/resources/2016%20UKNOF%20filtering%20bert%20hubert.pdf</a><br clear="none"><a shape="rect" href="https://blog.powerdns.com/2016/01/19/efficient-optional-filtering-of-domains-in-recursor-4-0-0/" rel="nofollow" target="_blank">https://blog.powerdns.com/2016/01/19/efficient-optional-filtering-of-domains-in-recursor-4-0-0/</a><br clear="none"><a shape="rect" href="https://git.mauras.ch/Various/powerdns_recursor_ads_blocking" rel="nofollow" target="_blank">https://git.mauras.ch/Various/powerdns_recursor_ads_blocking</a><br clear="none"><br clear="none"><a shape="rect" href="https://blog.powerdns.com/2016/06/28/response-policy-zone-support-in-powerdns-recursor/" rel="nofollow" target="_blank">https://blog.powerdns.com/2016/06/28/response-policy-zone-support-in-powerdns-recursor/</a><br clear="none"><a shape="rect" href="https://ftp.isc.org/isc/dnsrpz/isc-tn-2010-1.txt" rel="nofollow" target="_blank">https://ftp.isc.org/isc/dnsrpz/isc-tn-2010-1.txt</a><div class="ydpe5c7e6b3yqt7984616150" id="ydpe5c7e6b3yqtfd92121"><br clear="none"></div></div></div>
            </div>
        </div></body></html>