You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package dns
|
|
|
|
import (
|
|
"fmt"
|
|
"testing"
|
|
)
|
|
|
|
func TestDefaultDns(t *testing.T) {
|
|
p, e := QueryDns("google.com", "A", 3, "https://dns.b612.me/dns-query")
|
|
if e != nil {
|
|
t.Error(e)
|
|
}
|
|
fmt.Println(p)
|
|
|
|
}
|