add configs and lib for dns resolution in chroot