Last active
May 20, 2018 15:28
-
-
Save Blackdixxa/00e7c4c52b7d44985f2cb9d7ad2f83a6 to your computer and use it in GitHub Desktop.
Cron to update unbound_ad_servers. I've setted it up weekly on every sunday at 5am . "0 5 * * 0 /etc/cron.weekly/update_unbound_list.sh"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| curl "https://pgl.yoyo.org/adservers/serverlist.php?hostformat=unbound&showintro=1&mimetype=plaintext" > /etc/unbound/unbound_ad_servers | |
| /etc/init.d/unbound restart |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment