It is a long time since I did this but you need to point your CentOS machine at your local
DNS servers ensure your CentOS machine know what domain it belongs to (both in /etc/resolv.conf) and then get your
DNS server to use the VPN
DNS when it gets
DNS requests for domains that it does not know about. I trust someone else will tell us how to do the latter.