DNS

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

Bases: object

The DNS resolution results.

Methods

__init__(**kwargs) Initializes a new DNS object with values from keyword arguments.

Attributes

addresses Gets the addresses of this DNS.
domain_lookup_duration Gets the domain_lookup_duration of this DNS.
__init__(**kwargs)

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

Parameters:
  • 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.
addresses

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

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

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