Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

When editing /etc/lxc/dnsmasq.conf, changes to no take effect right away. Steps below are untested

As of Aug 2015, there is a known issue that lxc-net does not restart unless all containers are shut off. So first shutdown all your containers. Then restart lxc-net,

Code Block
languagebash
# 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