Quoting Ben Butler-Cole (b...@bridesmere.com):
> On 6 July 2012 19:56, Serge Hallyn <serge.hal...@canonical.com> wrote:
> > Quoting Ben Butler-Cole (b...@bridesmere.com):
> >> For some reason I thought that with the default lxcbr0 config the
> >> containers name would resolve for it as a DNS name. That doesn't seem to be
> >> the case.
> >
> > Do you have 10.0.3.1 (or whatever ip address you have assigned to lxcbr0)
> > added as a nameserver, i.e. in /etc/resolv.conf?
> 
> I don't have 10.0.3.1 in /etc/resolv.conf. That would be good enough,
> and I have put it there by various hacky approches. But I'm not sure,
> with resolvconf controlling /etc/resolv.conf, what the correct way of
> doing this is. Do you have any idea what a sensible way to do it would
> be?

I'd do the same way recommended in
http://wiki.ubuntu.com/SecurityTeam/TestingEnvironment.  Namely, place
it in /etc/resolvconf/resolv.conf.d/head

-serge

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to