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 <[email protected]>
  • Loading branch information
tmaroschik and mloiseleur committed Jan 10, 2024
1 parent 60450d0 commit 99b7abd
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 99b7abd

Please sign in to comment.