Skip to content

Commit

Permalink
update: fix bug of axfr bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
Esonhugh committed Mar 21, 2024
1 parent bd5d590 commit 0514447
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scanner/axfr.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func DumpAXFR(target string, dnsServer string) ([]define.Record, error) {
for rr := range ch {
if rr.Error != nil {
log.Debugf("Error: %v", rr.Error)
continue
return records, rr.Error
}
for _, r := range rr.RR {
records = append(records, define.Record{
Expand Down

0 comments on commit 0514447

Please sign in to comment.