Sun Aug 28 08:21:01 EDT 2016 Slept from around two in the morning until seven-something. High of eighty-seven. I meant to go to be earlier last night, but it didn't work out. Ed came over to play D&D after seven, and stayed late. I didn't drink excessively last night (three beers), but the lack of sleep combined with not drinking any water before bed left me feeling mildly crappy. Goals: - Laundry White load done. - Work on D&D mini rules Done. - Screw around with Unbound Done. I experienced a weird issue where the same Unbound config file was valid when named one way, but invalid when named something else. This file is a blacklist full of lines like: local-zone: "example.com" refuse I eventually determined the problem was caused by the order in which the files got loaded by the wildcard in `unbound.conf`: include: /var/unbound/conf.d/*.conf There was another file in /var/unbound/conf.d/ with a "server" clause. As long as that file loaded first, all was good. To fix this uncertainty, I added a "server:" line to the head of the blacklist.conf file. It doesn't seem to be a problem that there are multiple "server" sections. Still no idea how it was sorting the files. Not alphabetically, but somehow consistently. Here's my weekly `make_dns_blacklist.sh` script: #!/bin/sh curl --silent --user username:************** --output /tmp/dg-ads.tar.gz http://www.squidblacklist.org/downloads/squidblacklists/dg/dg-ads.tar.gz curl --silent --user username:************** --output /tmp/dg-malicious.tar.gz http://www.squidblacklist.org/downloads/squidblacklists/dg/dg-malicious.tar.gz if [ -s /tmp/dg-ads.tar.gz ] then cd /tmp tar -xvf /tmp/dg-ads.tar.gz fi if [ -s /tmp/dg-malicious.tar.gz ] then cd /tmp tar -xvf /tmp/dg-malicious.tar.gz fi if [ -s /tmp/dg-ads.acl ] && [ -s /tmp/dg-malicious.acl ] then cat /tmp/dg-ads.acl /tmp/dg-malicious.acl | sort | uniq \ | awk '{if(substr($1, 0, 1) != "#") print "local-zone: \""$1"\" refuse"}' \ | sed '1 i\ server: ' > /var/unbound/conf.d/blacklist.conf unbound-control reload fi Took a hour nap in the early evening. The cicadas are singing loudly this evening. Changed sheets and towels Breakfast: mac-and-cheese, coffee with half-and-half Lunch: chicken pot pie Dinner: mac-and-cheese