Skip to content

Commit

Permalink
Making DNS timeout non fatal (#113)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mzack9999 committed May 9, 2023
1 parent 44cadf9 commit 5f029cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*.so
*.dylib
*.idea
.vscode

# Test binary, built with `go test -c`
*.test
Expand Down
4 changes: 2 additions & 2 deletions runner/runner.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ func (r *Runner) process() error {
case asnmap.Domain:
resolvedIps, err := asnmap.ResolveDomain(item, r.options.Resolvers...)
if err != nil {
errProcess = err
return err
gologger.Verbose().Msgf("could not resolve '%s': %v", item, err)
return nil
}

if len(resolvedIps) == 0 {
Expand Down

0 comments on commit 5f029cd

Please sign in to comment.