geo-dns: update member list of entity.hostname changes

- Useful for some private subnet examples, where the hostname/url gets transformed.
- Transforms tests from groovy to Java.