Hello<br><br>I'm using LXC on EC2, with Ubuntu host and guests. Currently using 11.10 and now upgrading to 12.04. The new functionality to set up the bridge network automatically is great and should make my life a lot easier.<br>
<br>However the default dnsmasq configuration, combined with the way EC2's DNS servers behave, means that my containers are getting EC2-like DNS names assigned automatically (like ip-10-0-3-97.eu-west-1.compute.internal).<br>
<br>I was previously using a configuration[1] which had dnsmasq manage a domain itself and resulted in assigning the container name as the DNS name.<br><br>Is there a simple way to recover this behaviour without ignoring the provided network configuration entirely?<br>
<br>I can't see a way to easily modify the dnsmasq configuration that LXC uses without hacking the Upstart script. Would it be reasonable to move the dnsmasq configuration from the script into a separate file so that it could be modified independently?<br>
<br>Thanks for you help.<br>-Ben<br><br>[1] mostly stolen from <a href="http://www.activestate.com/blog/2011/10/virtualization-ec2-cloud-using-lxc">http://www.activestate.com/blog/2011/10/virtualization-ec2-cloud-using-lxc</a>