Dynamically query the IP address of the instance