mirror of https://github.com/v2ray/v2ray-core
remove debug info
parent
41bc2a6ce4
commit
88b521c77e
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue