Skip to content

Commit

Permalink
BUG: BIND not handling long TXT records correctly (#2447)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlimoncelli committed Jun 20, 2023
1 parent 8656ffd commit 9741d3c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions providers/bind/bindProvider.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import (
"github.com/StackExchange/dnscontrol/v4/pkg/diff2"
"github.com/StackExchange/dnscontrol/v4/pkg/prettyzone"
"github.com/StackExchange/dnscontrol/v4/pkg/printer"
"github.com/StackExchange/dnscontrol/v4/pkg/txtutil"
"github.com/StackExchange/dnscontrol/v4/providers"
"github.com/miekg/dns"
)
Expand Down Expand Up @@ -210,6 +211,7 @@ func ParseZoneContents(content string, zoneName string, zonefileName string) (mo

// GetZoneRecordsCorrections returns a list of corrections that will turn existing records into dc.Records.
func (c *bindProvider) GetZoneRecordsCorrections(dc *models.DomainConfig, foundRecords models.Records) ([]*models.Correction, error) {
txtutil.SplitSingleLongTxt(dc.Records)

changes := false
var msg string
Expand Down

0 comments on commit 9741d3c

Please sign in to comment.