you are viewing a single comment's thread
view the rest of the comments
[–] 0 points 5 hours ago (1 child)

@Ooops @EncryptKeeper
Those scripts never worked for me....... so pihole-unbound to the end......xddddddd

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 5 hours ago*

    My "script" to update the blocklist from time to time was literally

    curl <blocklist1 link> > templist
    curl <blocklist2 link> >> templist
    grep '^0\.0\.0\.0' templist | awk '{print "local-zone: \""$2"\" always_refuse"} > blocklist.conf
    systemctl restart unbound.service

    and an include blocklist.conf at the bottom of unbound.conf (awk to convert it from the "0.0.0.0 " format to "local-zone: always_refuse").

  • source
  • parent