I've added a few hostnames in /etc/hosts to resolve to my LXD container:$ less /etc/hosts127.0.0.1       localhost127.0.1.1       HOSTlemh            10.0.3.219pma.lemh        10.0.3.219wp.lemh         10.0.3.219But ping, getent ahosts or Firefox cannot resolve them. I don't want to restart right now.I've tried systemctl restart networking.service to no avail. Is there a way to resolve them without restarting my system?
Custom hostnames on /etc/hosts not resolved
ubuntu;hosts
in /etc/hosts you have to write:ip aliasso the correct form is:127.0.0.1       localhost127.0.1.1       HOST10.0.3.219 lemh pma.lemh wp.lemh