mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
17 lines
299 B
Go
17 lines
299 B
Go
package dns
|
|
|
|
import (
|
|
log "github.com/sirupsen/logrus"
|
|
"strconv"
|
|
"testing"
|
|
)
|
|
|
|
func TestName(t *testing.T) {
|
|
//port := util.GetAvailableUDPPortOrDie()
|
|
port := 58477
|
|
err := NewDNSServer("udp", "127.0.0.1:"+strconv.Itoa(port), "172.20.135.131:53", "test")
|
|
if err != nil {
|
|
log.Warnln(err)
|
|
}
|
|
}
|