So I am hoping y’all can help me because this is such a helpful community but I fear this may not be an LXD issue.
My setup is as follows:
Kubuntu 19.04 host
Several LXC’s running Ubuntu 18.04
These containers have various webservers
I use one container to run HAProxy
I forward all http traffic to host onto the HAProxy container which then forwards onto the other respective containers
My public IP is tracked via ddclient & google domains
A week or so ago I install PiHole on the host. PiHole operates a DNS so it obviously modifies how Ubuntu resolves DNS searches (I think it screws with systemd-resolved)
This proved to be problematic so I uninstalled PiHole and thereafter the host could not resolve any domain names. I then attempted to restore the host to its default dns practice. When I I did this I was able to resolve domain names but could no longer reach my containers via domain names. Further, clients in the WAN and LAN (other than host) cannot reach the web servers in those containers. The host can reach them via IP address.
So what am I missing? Did PiHole screw up LXD as well? I cant figure this out.