DNS-Lookups for (php-)chroots

Yet another note for me, on how to do stuff:

DNS-Lookups don't work instantly in chroots. You may use this script to set up a chroot where everything works:


This script is fitted around usage with php-fpm, but should work for everything else, too (if you copy over other important files).

Feel free to use this to your hearts desire, MIT ftw :)