Skip to content

Commit

Permalink
Fix TXT records spanning multiple DNS answers (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolveix committed Jan 23, 2025
1 parent 94fdce2 commit d464e69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scanner/requests.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func (s *Scanner) getDNSRecords(domain string, recordType uint16) (records []str
case *dns.NS:
records = append(records, dnsRec.Ns)
case *dns.TXT:
records = append(records, dnsRec.Txt...)
records = append(records, strings.Join(dnsRec.Txt, " "))
}
}

Expand Down

0 comments on commit d464e69

Please sign in to comment.