package
Version:
v0.0.0-...-8bab8ab
Opens a new window with list of versions in this module.
Published: Apr 28, 2022
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
dns

Documentation
¶
The number of tries in case of error.
QueryA returns net.IP structs of the answers.
Returns nil in case of error.
This function retries the query in case of error, up to MAX_RETRIES.
QueryAAAA returns net.IP structs of the answers.
Returns nil in case of error.
This function retries the query in case of error, up to MAX_RETRIES.
QueryTXT returns the answer as a string slice.
Returns nil in case of error.
This function retries the query in case of error, up to MAX_RETRIES.
type MX struct {
Preference int
Exchange string
}
QueryMX returns MX structs of the answers.
Returns nil in case of error.
This function retries the query in case of error, up to MAX_RETRIES.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.