Cannot resolve non-LXD domains within containers after setting up .lxd DNS resolution

I was asking because I see a ‘search lxd’ that is not in my default resolv.conf on the only 18.04 system and default systemd where I can dabble with network resolution and where I tested @simos tutorial. I don’t know how it could be a following of the tutorial. Anyway, I’d say that you should attempt to set your dns servers on your physical interface, not globally. It’s the more satisfying setup and the only one where you can be sure to avoid loops.
Something like that;
Link 2 (enp3s0)
Current Scopes: DNS
(…)
DNS Servers: 10.0.0.250
DNS Domain: ~.

here I use a private DNS server on my internal network but you could do the same with public DNS servers.
Other than that you can make do with solutions on this thread
These are not very pretty hacks but you may care only about the result. Try to not use 8.8.8.8 at least.