Unbound DNS entry pre(caching)

Eric Luehrsen ericluehrsen at gmail.com
Wed Apr 24 02:23:09 UTC 2019


On 4/23/19 11:47 AM, Tihomir Loncaric via Unbound-users wrote:
> Thanks to all three of you for quick answers and help.
> 
> All valid points, except first answer with auth-zone I don't fully 
> understand on how to leverage. :)
> Spam/adblock is already implemented through web-filter.
> Earlier I have been pre-caching (pinning) entries with Alexa top 1000 
> sites list ...
 > ...
>    c) b doesn't allow me to create our own actual top 1000 list based on 
> actual resolving of user entries

If you really wanted to create your own popular-query list, you could 
write a python script which would be called by the python module. A 
rather simple way would be to print query names to a text file. Let a 
cron job pick up the file later and do the number crunching. It might 
use a lot of disk space, but Unbound shouldn't be bogged down. It is 
just a place to start and improve from.
-Eric



More information about the Unbound-users mailing list