Skip to content
This repository has been archived by the owner on Jan 7, 2024. It is now read-only.

Commit

Permalink
Another bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
haccer authored Apr 7, 2018
1 parent faef668 commit a726601
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,11 +345,11 @@ func detect(url, cname, output string, ssl bool, timeout int) {
}

func (s *Subdomain) DNS(a *Options) {
cname := resolve(s.Url)

if a.All {
detect(s.Url, "", a.Output, a.Ssl, a.Timeout)
detect(s.Url, cname, a.Output, a.Ssl, a.Timeout)
} else {
cname := resolve(s.Url)

cnames := []string{
".cloudfront.net",
"amazonaws",
Expand Down

0 comments on commit a726601

Please sign in to comment.