Added public ip resolution