How can the configuration of DNS resolver (
/var/www/vhost/example.com/etc/resolv.conf) be updated for each chrooted virtual host user?
Update the configuration file
/var/www/vhosts/chroot/etc/resolv.conf with the necessary parameters and the changes will be reflected to every virtual hosts configuration.
Mentioned configuration file is hard-linked to configuration files in every virtual host directory.