@Override
    public Set<String> resolve(String name, RecordType first, RecordType... rest) {
        Set<String> results = new HashSet<>();
        for (var type : EnumSet.of(first, rest)) {
            try {
                results.addAll(lookupName(name, type));
            } catch (Exception e) {
                throw new RuntimeException(e);
            }
        }
        return Collections.unmodifiableSet(results);
    }
Implementation of a name resolver that always uses a DNS server to resolve the given name. The intention is to avoid
possibly incorrect/incomplete records in /etc/hosts.

@author mpolden
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/persistence/DnsNameResolver.java