summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author韩丁康 <[email protected]>2023-11-14 10:57:26 +0800
committer韩丁康 <[email protected]>2023-11-14 10:57:26 +0800
commit08f6709ea4b696a55e05bd3ea2001d6d57149bf9 (patch)
tree8615ea6a378fde8297d36890631c6ec30d2dc023
parent4763f7bc5e2370c5d6ad46ebafcda905c5af9c79 (diff)
优化展示方式
-rw-r--r--main.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/main.go b/main.go
index 02f5e68..c4eef91 100644
--- a/main.go
+++ b/main.go
@@ -29,10 +29,8 @@ func main() {
wg.Add(1)
fqdn := strings.ToLower(randstr.String(10)) + "." + qname
-
- print(fqdn + "\n")
msg := dns.Msg{}
- msg.SetQuestion(fqdn, dns.TypeA)
+ msg.SetQuestion(fqdn, dns.TypeAAAA)
vi := v + ":53"
_ = p.Submit(