[GH-ISSUE #132] add tcp mode and/or show truncated flag in responses #2

Closed
opened 2026-03-15 16:04:04 +03:00 by kerem · 0 comments
Owner

Originally created by @ldemailly on GitHub (Jul 26, 2025).
Original GitHub issue: https://github.com/fortio/dnsping/issues/132

eg trying to get TXT records for microsoft.com

	if err == nil && resp.Truncated {
		client.Net = "tcp"
		resp, _, err = client.Exchange(msg, "8.8.8.8:53")

source https://github.com/miekg/dns/issues/1527

Originally created by @ldemailly on GitHub (Jul 26, 2025). Original GitHub issue: https://github.com/fortio/dnsping/issues/132 eg trying to get TXT records for microsoft.com ```go if err == nil && resp.Truncated { client.Net = "tcp" resp, _, err = client.Exchange(msg, "8.8.8.8:53") ``` source https://github.com/miekg/dns/issues/1527
kerem closed this issue 2026-03-15 16:04:09 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dnsping#2
No description provided.