When editing /etc/lxc/dnsmasq.conf, changes to no do not take effect right away. Steps below are untested
So first shutdown all your containers (Aug 2016, there is an issue that lxc-net does not restart unless all containers are shut off). Then restart lxc-net,
Code Block | ||
---|---|---|
| ||
# Personally don't like what I see here...
sudo service lxc-net restart
sudo killall -s SIGHUP dnsmasq # this command did not appear to work and there was no way to do apt-get install killall
# Tried this and it did noot work http://seminar.io/2014/07/27/dns-resolution-for-lxc-in-ubuntu-trusty/
sudo service lxc-net stop
sudo service lxc-net start |
The other option is to shutdown all containers and restart the host operating system.