Skip to content

Commit 0514447

Browse files
committed
update: fix bug of axfr bug.
1 parent bd5d590 commit 0514447

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/scanner/axfr.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ func DumpAXFR(target string, dnsServer string) ([]define.Record, error) {
2121
for rr := range ch {
2222
if rr.Error != nil {
2323
log.Debugf("Error: %v", rr.Error)
24-
continue
24+
return records, rr.Error
2525
}
2626
for _, r := range rr.RR {
2727
records = append(records, define.Record{

0 commit comments

Comments
 (0)