ttl

Sets the minimum and maximum TTL of the cached DNS resource records (in seconds). If the TTL of the DNS
resource record returned by the DNS server is less than the minimum TTL or greater than the maximum TTL,
this resolver will ignore the TTL from the DNS server and use the minimum TTL or the maximum TTL instead
respectively.
The default value is 0 and Integer.MAX_VALUE, which practically tells this resolver to
respect the TTL from the DNS server.

computeResolvedAddressTypes

Compute a ResolvedAddressTypes from some InternetProtocolFamilys.
An empty input will return the default value, based on "java.net" System properties.
Valid inputs are (), (IPv4), (IPv6), (Ipv4, IPv6) and (IPv6, IPv4).

optResourceEnabled

Enable the automatic inclusion of a optional records that tries to give the remote DNS server a hint about
how much data the resolver can read per response. Some DNSServer may not support this and so fail to answer
queries. If you find problems you may want to disable this.