Versions in this module Expand all Collapse all v0 v0.1.18 Jul 10, 2026 Changes in this version + type CloudflareAPI struct + func NewCloudflareAPI() CloudflareAPI + func (c *CloudflareAPI) DNSQuery(ctx context.Context, params DNSParams) (DNSResponse, error) + type DNSAnswer struct + Data string + Name string + Ttl uint32 + Type DNSType + type DNSParams struct + Cd *bool + Do *bool + Name string + Type *DNSType + type DNSQuestion struct + Name string + Type DNSType + type DNSResponse struct + AD bool + Additional []DNSAnswer + Answer []DNSAnswer + Authority []DNSAnswer + CD bool + Question []DNSQuestion + RA bool + RD bool + Status uint16 + TC bool + type DNSType uint16 + const TypeA + const TypeAAAA + const TypeAFSDB + const TypeAMTRELAY + const TypeANY + const TypeAPL + const TypeATMA + const TypeAVC + const TypeAXFR + const TypeCAA + const TypeCDNSKEY + const TypeCDS + const TypeCERT + const TypeCNAME + const TypeCSYNC + const TypeDHCID + const TypeDLV + const TypeDNAME + const TypeDNSKEY + const TypeDS + const TypeEID + const TypeEUI48 + const TypeEUI64 + const TypeGID + const TypeGPOS + const TypeHINFO + const TypeHIP + const TypeHTTPS + const TypeIPSECKEY + const TypeISDN + const TypeIXFR + const TypeKEY + const TypeKX + const TypeL32 + const TypeL64 + const TypeLOC + const TypeLP + const TypeMAILA + const TypeMAILB + const TypeMB + const TypeMD + const TypeMF + const TypeMG + const TypeMINFO + const TypeMR + const TypeMX + const TypeNAPTR + const TypeNID + const TypeNIMLOC + const TypeNINFO + const TypeNS + const TypeNSAPPTR + const TypeNSEC + const TypeNSEC3 + const TypeNSEC3PARAM + const TypeNULL + const TypeNXT + const TypeNone + const TypeOPENPGPKEY + const TypeOPT + const TypePTR + const TypePX + const TypeRKEY + const TypeRP + const TypeRRSIG + const TypeRT + const TypeReserved + const TypeSIG + const TypeSMIMEA + const TypeSOA + const TypeSPF + const TypeSRV + const TypeSSHFP + const TypeSVCB + const TypeTA + const TypeTALINK + const TypeTKEY + const TypeTLSA + const TypeTSIG + const TypeTXT + const TypeUID + const TypeUINFO + const TypeUNSPEC + const TypeURI + const TypeX25 + const TypeZONEMD