Permalink
Browse files

Disable lookup of PTR record

  • Loading branch information...
funzoneq
funzoneq committed Jun 30, 2012
1 parent 685526e commit 33f2162bfb7f2735629fc17dd2cd8fb14f907017
Showing with 3 additions and 3 deletions.
  1. +3 −3 goworker/getcerts.go
View
@@ -12,7 +12,7 @@ import (
"net/http"
"net/url"
"time"
- "strings"
+ //"strings"
)
// Configure the flags
@@ -125,8 +125,8 @@ func getcert(in chan WorkTodo, done chan PTRrecord) {
// Keep waiting for work
for {
target := <-in
- ip := strings.Split(target.Host, ":")
- go lookup_PTRrecord(done, ip[0])
+ //ip := strings.Split(target.Host, ":")
+ //go lookup_PTRrecord(done, ip[0])
tcpconn, err := net.DialTimeout("tcp", target.Host, 2*time.Second)
if err != nil {

0 comments on commit 33f2162

Please sign in to comment.