Hi all

I have made a client application and when my program loads (VPN dialup program) I need to some how redirect all client requests for www.example.com to 192.168.1.2 instead for the normal public DNS record 192.168.1.1 while the program is running and then when the program stops, the client can use normal DNS to get the original IP(192.168.1.1) of www.example.com.

Basically when the client uses www.example.com without my program they can just browse that site, but when they run my program it calls a VPN connection that opens for other services like FTP when using IP 192.168.1.2 for www.example.com.

Thanks