Skip to content

Commit

Permalink
skip creation of wildcard in the middle
Browse files Browse the repository at this point in the history
  • Loading branch information
kokizzu committed Jul 26, 2024
1 parent b7301eb commit 4bbc6bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gcoreprovider/gcore.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ func (p *DnsProvider) ApplyChanges(rootCtx context.Context, changes *plan.Change
for _, c := range changes.Create {
c := c
zone := extractZone(c.DNSName)
if zone == "" {
if zone == "" || (c.RecordType == "TXT" && strings.Index(c.DNSName, `*`) > 0) {
continue
}
recordValues := make([]gdns.ResourceRecord, 0)
Expand Down

0 comments on commit 4bbc6bd

Please sign in to comment.