class oci.healthchecks.models.DNS(**kwargs)

Bases: object

The DNS resolution results.


Initializes a new DNS object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

  • domain_lookup_duration (float) -- The value to assign to the domain_lookup_duration property of this DNS.
  • addresses (list[str]) -- The value to assign to the addresses property of this DNS.

Gets the addresses of this DNS. The addresses returned by DNS resolution.

Returns:The addresses of this DNS.
Return type:list[str]

Gets the domain_lookup_duration of this DNS. Total DNS resolution duration, in milliseconds. Calculated using domainLookupEnd minus domainLookupStart.

Returns:The domain_lookup_duration of this DNS.
Return type:float