MCPcopy Create free account
hub / github.com/barnybug/cli53 / isAuthRecord

Function isAuthRecord

commands.go:158–160  ·  view source on GitHub ↗
(zone *route53types.HostedZone, rrset *route53types.ResourceRecordSet)

Source from the content-addressed store, hash-verified

156}
157
158func isAuthRecord(zone *route53types.HostedZone, rrset *route53types.ResourceRecordSet) bool {
159 return (rrset.Type == route53types.RRTypeSoa || rrset.Type == route53types.RRTypeNs) && *rrset.Name == *zone.Name
160}
161
162func expandSelfAliases(records []dns.RR, zone *route53types.HostedZone) {
163 for _, record := range records {

Callers 2

deleteRecordSetsFunction · 0.85
importBindFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected