title: How to change the ip address for a domain from the java program itself?
body: <p>we manually do the host entries to redirect a URL to a particular IP, Is there any way to do that in the automation script itself(in JAVA)?
  So it points to a particular IP without every time changing the host entries manually from the system hosts file.</p>