tl;dr - “ !== " - copying and pasting from websites resulted in the wrong quote mark being used. Corrected those and unbound seems to be running now.
I put it in unbound.conf after the first attempt just to see what would happen.
It's removed from unbound.conf now.
pi-hoile.conf and unbound.conf
pi@radiberry1:~ $ sudo cat /etc/unbound/unbound.conf.d/pi-hole.conf
server:
# If no logfile is specified, syslog is used
logfile: “/unbound.log”
verbosity: 1
pi@radiberry1:~ $ sudo cat /etc/unbound/unbound.conf
# Unbound configuration file for Debian.
#
# See the unbound.conf(5) man page.
#
# See /usr/share/doc/unbound/examples/unbound.conf for a commented
# reference config file.
#
# The following line includes additional configuration files from the
# /etc/unbound/unbound.conf.d directory.
include: "/etc/unbound/unbound.conf.d/*.conf"
unbound-checkconf output
pi@radiberry1:~ $ sudo /usr/sbin/unbound-checkconf
/etc/unbound/“: No such file or directory
[1572860189] unbound-checkconf[25207:0] fatal error: logfile directory does not exist
I noticed the error message had to be somewhere in the logfile line in the conf. As I was cutting and pasting from a webpage, I was using “ instead of ". Not obvious here but in nano the they were curved. Replaced them with " and I stopped getting the error:
pi@radiberry1:~ $ sudo /usr/sbin/unbound-checkconf
unbound-checkconf: no errors in /etc/unbound/unbound.conf
stop and start produced no errors
pi@radiberry1:~ $ sudo systemctl stop unbound
pi@radiberry1:~ $ sudo systemctl start unbound
but there is no logfile created which seems odd.
but now it looks like it's up and running
pi@radiberry1:~ $ sudo systemctl status unbound
● unbound.service - Unbound DNS server
Loaded: loaded (/lib/systemd/system/unbound.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2019-11-04 17:45:31 +08; 4min 50s ago
Docs: man:unbound(8)
Process: 25910 ExecStartPre=/usr/lib/unbound/package-helper chroot_setup (code=exited, status=0/SUCCESS)
Process: 25914 ExecStartPre=/usr/lib/unbound/package-helper root_trust_anchor_update (code=exited, status=0/SUCCESS)
Main PID: 25919 (unbound)
Tasks: 1 (limit: 4915)
Memory: 4.9M
CGroup: /system.slice/unbound.service
└─25919 /usr/sbin/unbound -d
Nov 04 17:45:30 radiberry1 systemd[1]: Starting Unbound DNS server...
Nov 04 17:45:31 radiberry1 package-helper[25914]: /var/lib/unbound/root.key has content
Nov 04 17:45:31 radiberry1 package-helper[25914]: success: the anchor is ok
Nov 04 17:45:31 radiberry1 unbound[25919]: [1572860731] unbound[25919:0] error: Could not open logfile /var/log/unbound.log: Permission denied
Nov 04 17:45:31 radiberry1 unbound[25919]: [1572860731] unbound[25919:0] notice: init module 0: subnet
Nov 04 17:45:31 radiberry1 unbound[25919]: [1572860731] unbound[25919:0] notice: init module 1: validator
Nov 04 17:45:31 radiberry1 unbound[25919]: [1572860731] unbound[25919:0] notice: init module 2: iterator
Nov 04 17:45:31 radiberry1 unbound[25919]: [1572860731] unbound[25919:0] info: start of service (unbound 1.9.0).
Nov 04 17:45:31 radiberry1 systemd[1]: Started Unbound DNS server.