i can't resolve domain names in chrooted environment - in the normal shell it works fine.
i'm using plesk 11.5 and my chroot environment contains the following: https://gist.github.com/xarem/5356ca94367ea8666e23
my resolv.conf:
search company.ch
nameserver 8.8.8.8
nameserver 8.8.4.4
my nsswitch.conf:
passwd: compat
group: compat
shadow: compat
hosts: dns
networks: files
protocols: db files
services: db files
ethers: db files
rpc: db files
netgroup: nis
i tried to port nslookup into the chrooted env, but that didn't work and i can't find a solution for this:
usr@srv:/$ nslookup google.com
(null): dst_lib_init: openssl failure
Can someone help me? Thank you very much.