dmarc

package
v0.0.0-...-db81b43 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDmarcStringForDomain

func GetDmarcStringForDomain(opts *shared.Options) (*string, error)

Types

type DmarcRecord

type DmarcRecord struct {
	Domain          string
	Version         string
	Policy          string
	Percent         *int
	RUA             string
	RUF             string
	SubdomainPolicy string
	DkimAlignment   string
	SpfAlignment    string
	ReportInterval  string
	Record          string
}

func FromDmarcString

func FromDmarcString(dmarcString *string, domain string) (*DmarcRecord, error)

func FromDomain

func FromDomain(opts *shared.Options) (*DmarcRecord, error)

func (*DmarcRecord) GetOrgDomain

func (dmarc *DmarcRecord) GetOrgDomain() (string, error)

func (*DmarcRecord) GetOrgRecord

func (dmarc *DmarcRecord) GetOrgRecord(dnsResolver string) (*DmarcRecord, error)

func (*DmarcRecord) IsOrgDomainStrong

func (dmarc *DmarcRecord) IsOrgDomainStrong(dnsResolver string) (bool, error)

func (*DmarcRecord) IsRecordStrong

func (dmarc *DmarcRecord) IsRecordStrong(dnsResolver string) (bool, error)

func (*DmarcRecord) IsSubdomainPolicyStrong

func (dmarc *DmarcRecord) IsSubdomainPolicyStrong() bool

Jump to

Keyboard shortcuts

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