I tried the solutions in the immediately-previous 2 comments in this page.
@simos, the (permanent, updated) solution that appears in your blogpost failed (on my fresh Ubuntu MATE 18.04 with snap LXD 3.6).
@rudiservo, your 3-line solution seems to work on my (completely fresh, again) system.
@simos, the failure of the “permanent solution” on the blogpost can be seen here (I executed this command right after a boot):
root@ubuntu:~# systemctl status lxd-host-dns.service
● lxd-host-dns.service - LXD host DNS service
Loaded: loaded (/etc/systemd/system/lxd-host-dns.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2018-10-20 10:46:39 PDT; 4min 39s ago
Process: 1745 ExecStart=/usr/local/bin/lxdhostdns_start.sh (code=exited, status=1/FAILURE)
Main PID: 1745 (code=exited, status=1/FAILURE)
Oct 20 10:46:39 ubuntu systemd[1]: Started LXD host DNS service.
Oct 20 10:46:39 ubuntu lxdhostdns_start.sh[1745]: Device "lxdbr0" does not exist.
Oct 20 10:46:39 ubuntu lxdhostdns_start.sh[1745]: Unknown interface lxdbr0: No such device
Oct 20 10:46:39 ubuntu systemd[1]: lxd-host-dns.service: Main process exited, code=exited, status=1/FAILURE
Oct 20 10:46:39 ubuntu systemd[1]: lxd-host-dns.service: Failed with result 'exit-code'.
root@ubuntu:~#
@simos, would it be possible please to examine @rudiservo’s solution, if it’s good?