dns

package
v4.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2023 License: MPL-2.0 Imports: 25 Imported by: 0

Documentation

Overview

Package dns contains implementation for Akamai Terraform sub-provider responsible for managing DNS zones configuration

Index

Constants

View Source
const (
	RRTypeA          = "A"
	RRTypeAaaa       = "AAAA"
	RRTypeAfsdb      = "AFSDB"
	RRTypeAkamaiCdn  = "AKAMAICDN"
	RRTypeAkamaiTlc  = "AKAMAITLC"
	RRTypeCaa        = "CAA"
	RRTypeCname      = "CNAME"
	RRTypeHinfo      = "HINFO"
	RRTypeLoc        = "LOC"
	RRTypeMx         = "MX"
	RRTypeNaptr      = "NAPTR"
	RRTypeNs         = "NS"
	RRTypePtr        = "PTR"
	RRTypeRp         = "RP"
	RRTypeSoa        = "SOA"
	RRTypeSrv        = "SRV"
	RRTypeSpf        = "SPF"
	RRTypeSshfp      = "SSHFP"
	RRTypeTlsa       = "TLSA"
	RRTypeTxt        = "TXT"
	RRTypeDnskey     = "DNSKEY"
	RRTypeDs         = "DS"
	RRTypeNsec3      = "NSEC3"
	RRTypeNsec3Param = "NSEC3PARAM"
	RRTypeRrsig      = "RRSIG"
	RRTypeCert       = "CERT"
	RRTypeHTTPS      = "HTTPS"
	RRTypeSvcb       = "SVCB"
)

Resource record types supported by the Akamai Edge DNS API

View Source
const DNSProviderVersion string = "v0.8.3"

DNSProviderVersion update version string anytime provider adds new features

Variables

This section is empty.

Functions

func FullIPv6

func FullIPv6(ip net.IP) string

FullIPv6 encodes IPV6 as a full string

func Provider

func Provider() *schema.Provider

Provider returns the Akamai terraform.Resource provider.

func Subprovider

func Subprovider() akamai.Subprovider

Subprovider returns a core sub provider

Types

type Option

type Option func(p *provider)

Option is a dns provider option

func WithClient

func WithClient(c dns.DNS) Option

WithClient sets the client interface function, used for mocking and testing

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL