I have a PC connected to my ubuntu OpenVPN server.
what I'm trying to do is making google.com resolve to my IP address instead of Google IP address when I browser google.com on my client pc.
I have tried editing the hosts file on my openVPN server and I was pretty sure it will not work.
Also I tried to get domain IP address and redirect it using iptables but it didn't work as well.
I think that I need to have a dns server or something easier, any suggests?
Note: I don't want to edit my hosts file on client pc.