Skip to content

Commit

Permalink
Merge pull request #139 from projectdiscovery/fix-bug
Browse files Browse the repository at this point in the history
trim the soa records
  • Loading branch information
ShubhamRasal committed Jun 8, 2023
2 parents ea74349 + 3454eaa commit d02d924
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client.go
Original file line number Diff line number Diff line change
Expand Up @@ -604,8 +604,8 @@ func (d *DNSData) ParseFromRR(rrs []dns.RR) error {
d.CNAME = append(d.CNAME, trimChars(recordType.Target))
case *dns.SOA:
d.SOA = append(d.SOA, SOA{
NS: recordType.Ns,
Mbox: recordType.Mbox,
NS: trimChars(recordType.Ns),
Mbox: trimChars(recordType.Mbox),
Serial: recordType.Serial,
Refresh: recordType.Refresh,
Retry: recordType.Retry,
Expand Down

0 comments on commit d02d924

Please sign in to comment.