There's a plenty of advices across the Internet on how to enable DNS in chroot.
The problem is that there's no /lib/libnss* files in the Ubuntu Precise.
I've tried to copy these files from /etc/: hosts, nsswitch.conf, resolv.conf and the entire /lib directory. But DNS is still not working.
Does anyone have a recipe for the recent Ubuntu?