package
0.48.2
Repository: https://github.com/gruntwork-io/terratest.git
Documentation: pkg.go.dev

# Functions

DNSFindNameservers tries to find the NS record for the given FQDN, iterating down the domain hierarchy until it founds the NS records and returns it.
DNSFindNameserversE tries to find the NS record for the given FQDN, iterating down the domain hierarchy until it founds the NS records and returns it.
DNSLookup sends a DNS query for the specified record and type using the given resolvers.
DNSLookupAuthoritative gets authoritative answers for the specified record and type.
DNSLookupAuthoritativeAll gets authoritative answers for the specified record and type.
DNSLookupAuthoritativeAllE gets authoritative answers for the specified record and type.
DNSLookupAuthoritativeAllWithRetry repeatedly sends DNS requests for the specified record and type, until ALL authoritative nameservers reply with the exact same non-empty answers or until max retries has been exceeded.
DNSLookupAuthoritativeAllWithRetryE repeatedly sends DNS requests for the specified record and type, until ALL authoritative nameservers reply with the exact same non-empty answers or until max retries has been exceeded.
DNSLookupAuthoritativeAllWithValidation gets authoritative answers for the specified record and type.
DNSLookupAuthoritativeAllWithValidationE gets authoritative answers for the specified record and type.
DNSLookupAuthoritativeAllWithValidationRetry repeatedly gets authoritative answers for the specified record and type until ALL the authoritative nameservers found give the same answers and match the expectedAnswers, or until max retries has been exceeded.
DNSLookupAuthoritativeAllWithValidationRetryE repeatedly gets authoritative answers for the specified record and type until ALL the authoritative nameservers found give the same answers and match the expectedAnswers, or until max retries has been exceeded.
DNSLookupAuthoritativeE gets authoritative answers for the specified record and type.
DNSLookupAuthoritativeWithRetry repeatedly gets authoritative answers for the specified record and type until ANY of the authoritative nameservers found replies with non-empty answer matching the expectedAnswers, or until max retries has been exceeded.
DNSLookupAuthoritativeWithRetryE repeatedly gets authoritative answers for the specified record and type until ANY of the authoritative nameservers found replies with non-empty answer matching the expectedAnswers, or until max retries has been exceeded.
DNSLookupE sends a DNS query for the specified record and type using the given resolvers.

# Structs

DNSAnswer type.
DNSQuery type.
InconsistentAuthoritativeError is an error that occurs if an authoritative answer is different from another.
MaxRetriesExceeded is an error that occurs when the maximum amount of retries is exceeded.
NoResolversError is an error that occurs if no resolvers have been set for DNSLookupE.
NotFoundError is an error that occurs if no answer found.
NSNotFoundError is an error that occurs if no NS records found.
QueryTypeError is an error that occurs if the DNS query type is not supported.
ValidationError is an error that occurs when answers validation fails.

# Type aliases

DNSAnswers type.