Skip to content

Commit

Permalink
feat: add debug message to CNAME to ALIAS conversion
Browse files Browse the repository at this point in the history
Co-authored-by: Michel Loiseleur <97035654+mloiseleur@users.noreply.github.com>
  • Loading branch information
tmaroschik and mloiseleur committed Jan 10, 2024
1 parent 60450d0 commit cefc2cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions provider/pdns/pdns.go
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,7 @@ func (p *PDNSProvider) ConvertEndpointsToZones(eps []*endpoint.Endpoint, changet
}

if dnsname == zone.Name && ep.RecordType == "CNAME" {
log.Debugf("Converting APEX record %s from CNAME to ALIAS", dnsname)
RecordType_ = "ALIAS"
}

Expand Down

0 comments on commit cefc2cb

Please sign in to comment.