Documentation ¶
Index ¶
- Variables
- type APIResponse
- func GetCanonicalName(domain string) (*APIResponse, error)
- func GetCertificate(domain string) (*APIResponse, error)
- func GetDHCIDRecords(domain string) (*APIResponse, error)
- func GetDLVRecords(domain string) (*APIResponse, error)
- func GetDNAMERecords(domain string) (*APIResponse, error)
- func GetDNSKeyRecords(domain string) (*APIResponse, error)
- func GetDSRecords(domain string) (*APIResponse, error)
- func GetHINFORecords(domain string) (*APIResponse, error)
- func GetHIPRecords(domain string) (*APIResponse, error)
- func GetHostAddress(domain string) (*APIResponse, error)
- func GetHostAddressV6(domain string) (*APIResponse, error)
- func GetIPSECKeyRecords(domain string) (*APIResponse, error)
- func GetKXRecords(domain string) (*APIResponse, error)
- func GetLOCRecords(domain string) (*APIResponse, error)
- func GetMXRecords(domain string) (*APIResponse, error)
- func GetNAPTRRecords(domain string) (*APIResponse, error)
- func GetNSEC3ParamRecords(domain string) (*APIResponse, error)
- func GetNSEC3Records(domain string) (*APIResponse, error)
- func GetNSECRecords(domain string) (*APIResponse, error)
- func GetNSRecords(domain string) (*APIResponse, error)
- func GetOPTRecords(domain string) (*APIResponse, error)
- func GetPTRRecords(domain string) (*APIResponse, error)
- func GetRRSIGRecords(domain string) (*APIResponse, error)
- func GetReversePTRRecords(ip string) (*APIResponse, error)
- func GetReversePTRRecordsV6(ip string) (*APIResponse, error)
- func GetSOARecords(domain string) (*APIResponse, error)
- func GetSPFRecords(domain string) (*APIResponse, error)
- func GetSRVRecords(domain string) (*APIResponse, error)
- func GetSSHFPRecords(domain string) (*APIResponse, error)
- func GetTALINKRecords(domain string) (*APIResponse, error)
- func GetTARecords(domain string) (*APIResponse, error)
- func GetTLSARecords(domain string) (*APIResponse, error)
- func GetTXTRecords(domain string) (*APIResponse, error)
- type DNSData
- type Question
Constants ¶
This section is empty.
Variables ¶
var BaseURL = "http://api.statdns.com/"
BaseURL that points to RRDA REST API
Functions ¶
This section is empty.
Types ¶
type APIResponse ¶
type APIResponse struct { Question []Question `json: "question"` Answer []DNSData `json: "answer"` Authority []DNSData `json: "answer"` Additional []DNSData `json: "answer"` }
APIResponse type represents response from RRDA API
func GetCanonicalName ¶
func GetCanonicalName(domain string) (*APIResponse, error)
GetCanonicalName Get CNAME records
func GetCertificate ¶
func GetCertificate(domain string) (*APIResponse, error)
GetCertificate Get CERT records
func GetDHCIDRecords ¶
func GetDHCIDRecords(domain string) (*APIResponse, error)
GetDHCIDRecords Get DHCID (DHCP Identifier) records
func GetDLVRecords ¶
func GetDLVRecords(domain string) (*APIResponse, error)
GetDLVRecords Get DNSSEC Lookaside Validation (DLV) records
func GetDNAMERecords ¶
func GetDNAMERecords(domain string) (*APIResponse, error)
GetDNAMERecords Get Delegation name (DNAME) records
func GetDNSKeyRecords ¶
func GetDNSKeyRecords(domain string) (*APIResponse, error)
GetDNSKeyRecords Get DNS Key record (DNSKEY) records
func GetDSRecords ¶
func GetDSRecords(domain string) (*APIResponse, error)
GetDSRecords Get Delegation Signer (DS) records
func GetHINFORecords ¶
func GetHINFORecords(domain string) (*APIResponse, error)
GetHINFORecords Get Host Information (HINFO) records
func GetHIPRecords ¶
func GetHIPRecords(domain string) (*APIResponse, error)
GetHIPRecords Get Host Identity Protocol (HIP) records
func GetHostAddress ¶
func GetHostAddress(domain string) (*APIResponse, error)
GetHostAddress Get A records
http://api.statdns.com/<domain>/a
func GetHostAddressV6 ¶
func GetHostAddressV6(domain string) (*APIResponse, error)
GetHostAddressV6 Get AAAA records
func GetIPSECKeyRecords ¶
func GetIPSECKeyRecords(domain string) (*APIResponse, error)
GetIPSECKeyRecords Get IPSec Key (IPSECKEY) records
func GetKXRecords ¶
func GetKXRecords(domain string) (*APIResponse, error)
GetKXRecords Get Key eXchanger record (KX) records
func GetLOCRecords ¶
func GetLOCRecords(domain string) (*APIResponse, error)
GetLOCRecords Get Location records (LOC) records
func GetMXRecords ¶
func GetMXRecords(domain string) (*APIResponse, error)
GetMXRecords Get Mail Exchange record (MX) records
func GetNAPTRRecords ¶
func GetNAPTRRecords(domain string) (*APIResponse, error)
GetNAPTRRecords Get Name Authority Pointer (NAPTR) records
func GetNSEC3ParamRecords ¶
func GetNSEC3ParamRecords(domain string) (*APIResponse, error)
GetNSEC3ParamRecords Get NSEC3 (NSEC3PARAM) records
func GetNSEC3Records ¶
func GetNSEC3Records(domain string) (*APIResponse, error)
GetNSEC3Records Get NSEC record version 3 (NSEC3) records
func GetNSECRecords ¶
func GetNSECRecords(domain string) (*APIResponse, error)
GetNSECRecords Get Next-Secure (NSEC) records
func GetNSRecords ¶
func GetNSRecords(domain string) (*APIResponse, error)
GetNSRecords Get Name Servers (NS) records
func GetOPTRecords ¶
func GetOPTRecords(domain string) (*APIResponse, error)
GetOPTRecords Get Option records OPT records
func GetPTRRecords ¶
func GetPTRRecords(domain string) (*APIResponse, error)
GetPTRRecords Get Pointer (PTR) records
func GetRRSIGRecords ¶
func GetRRSIGRecords(domain string) (*APIResponse, error)
GetRRSIGRecords Get Resource Records Signature (RRSIG) records
func GetReversePTRRecords ¶
func GetReversePTRRecords(ip string) (*APIResponse, error)
GetReversePTRRecords Get reverse PTR record from IPv4 addresses
func GetReversePTRRecordsV6 ¶
func GetReversePTRRecordsV6(ip string) (*APIResponse, error)
GetReversePTRRecordsV6 Get reverse PTR record from IPv6 addresses
func GetSOARecords ¶
func GetSOARecords(domain string) (*APIResponse, error)
GetSOARecords Get Start of Authority (SOA) record
func GetSPFRecords ¶
func GetSPFRecords(domain string) (*APIResponse, error)
GetSPFRecords Get Sender Policy Framework (SPF) records
func GetSRVRecords ¶
func GetSRVRecords(domain string) (*APIResponse, error)
GetSRVRecords Get Service Locator (SRV) records
func GetSSHFPRecords ¶
func GetSSHFPRecords(domain string) (*APIResponse, error)
GetSSHFPRecords Get SSH Public Key Fingerprint (SSHFP) records
func GetTALINKRecords ¶
func GetTALINKRecords(domain string) (*APIResponse, error)
GetTALINKRecords Get Trust Anchor LINK (TALINK) records
func GetTARecords ¶
func GetTARecords(domain string) (*APIResponse, error)
GetTARecords Get DNSSEC Trust Authorities (TA) records
func GetTLSARecords ¶
func GetTLSARecords(domain string) (*APIResponse, error)
GetTLSARecords Get TLSA records
func GetTXTRecords ¶
func GetTXTRecords(domain string) (*APIResponse, error)
GetTXTRecords Get Text (TXT) records