remove debug info

pull/714/merge
Darien Raymond 2017-11-17 03:03:27 +00:00
parent 41bc2a6ce4
commit 88b521c77e
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 0 additions and 2 deletions

View File

@ -2,7 +2,6 @@ package server
import ( import (
"context" "context"
"fmt"
"sync" "sync"
"time" "time"
@ -123,7 +122,6 @@ func (v *UDPNameServer) HandleResponse(payload *buf.Buffer) {
switch rr := rr.(type) { switch rr := rr.(type) {
case *dns.A: case *dns.A:
record.IPs = append(record.IPs, rr.A) record.IPs = append(record.IPs, rr.A)
fmt.Println("Adding ans:", rr.A)
if rr.Hdr.Ttl < ttl { if rr.Hdr.Ttl < ttl {
ttl = rr.Hdr.Ttl ttl = rr.Hdr.Ttl
} }