private synchronized Map<String, HostedZone> getHostedZones0() {
Map<String, HostedZone> hostedZones = Maps.newHashMap();
String marker = null;
while (true) {
ListHostedZonesRequest request = new ListHostedZonesRequest();
if (marker != null) {
request.withMarker(marker);
}
ListHostedZonesResult response = restClient.listHostedZones(request);
for (HostedZone hostedZone : response.getHostedZones()) {
String key = CharMatcher.is('.').trimTrailingFrom(hostedZone.getName());
hostedZones.put(key, hostedZone);