How to access container alex as alex.lxd from host?

You have a typo in your tutorial: You say:

ExecStop=/usr/local/bin/lxdhostdnsi_stop.sh

(there’s an extra i)