Skip to content

Instantly share code, notes, and snippets.

Andrew Fresh afresh1

Block or report user

Report or block afresh1

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
afresh1 /
Last active Jul 22, 2017 — forked from dlangille/
Would someone convert this to use File::Find for me please? I wrote this a loooong time ago. Thank you.
# $Id:,v 1.3 2012/10/17 18:10:22 dan Exp $
# Copyright (c) 2001-2006 DVL Software
use strict;
use warnings;
# "include: /var/unbound/etc/ad-blacklist.conf" in /var/unbound/etc/unbound.conf
# run script as daily cron
TMPFILE=$( mktemp get_dns_blacklists-XXXXXXXXX )
trap 'rm -f $TMPFILE; exit 1' EXIT KILL INT QUIT TERM
ftp -VM -o- | grep ^ | awk '{ print $2 }'
You can’t perform that action at this time.