thousandeyes-sdk-python/thousandeyes-sdk-test-results/docs/DnsServerMeasurement.md
Miguel Pragosa 5168916842
Some checks failed
Python CI / build (push) Has been cancelled
[GitHub Bot] Generated python SDK (#163)
Co-authored-by: API Team <api-team@thousandeyes.com>
2026-07-13 10:54:39 +01:00

1.7 KiB

DnsServerMeasurement

DNS resolution details collected while locating the HTTP test target. Present when the agent captured DNS server measurement data for the round. The order of unusedDnsResponses matches the order returned by the DNS resolver.

Properties

Name Type Description Notes
used_dns_response DnsServerResponse [optional]
unused_dns_responses **List[DnsServerResponse]** Additional DNS responses received while resolving the target. [optional]
used_hosts_file bool Indicates whether the hosts file (for example, `/etc/hosts`) was used to resolve the target. [optional] [readonly]
resolved_ip str IP address resolved for the target, from DNS or the hosts file. [optional] [readonly]

Example

from thousandeyes_sdk.test_results.models.dns_server_measurement import DnsServerMeasurement

# TODO update the JSON string below
json = "{}"
# create an instance of DnsServerMeasurement from a JSON string
dns_server_measurement_instance = DnsServerMeasurement.from_json(json)
# print the JSON string representation of the object
print(DnsServerMeasurement.to_json())

# convert the object into a dict
dns_server_measurement_dict = dns_server_measurement_instance.to_dict()
# create an instance of DnsServerMeasurement from a dict
dns_server_measurement_from_dict = DnsServerMeasurement.from_dict(dns_server_measurement_dict)

[Back to Model list] [Back to API list] [Back to README]