Enhance Windows support #14

Closed
opened 2022-06-29 14:01:57 +00:00 by grumbulon · 0 comments
Collaborator

The otherwise really good DNS package does not support Windows which means we have to do some janky stuff referenced here

if resp.Answers.Server == "" {
		resolv, err := dns.ClientConfigFromFile("/etc/resolv.conf")
		if err != nil { // Query Google by default, needed for Windows since the DNS library doesn't support Windows
			// TODO: Actually find where windows stuffs its dns resolvers
			resp.Answers.Server = "8.8.4.4"
The otherwise _really good_ DNS package does not support Windows which means we have to do some janky stuff referenced here ```go if resp.Answers.Server == "" { resolv, err := dns.ClientConfigFromFile("/etc/resolv.conf") if err != nil { // Query Google by default, needed for Windows since the DNS library doesn't support Windows // TODO: Actually find where windows stuffs its dns resolvers resp.Answers.Server = "8.8.4.4" ```
grumbulon added this to the Release v0.3 milestone 2022-06-29 14:01:57 +00:00
grumbulon added the
enhancement
label 2022-06-29 14:01:57 +00:00
sam was assigned by grumbulon 2022-06-29 14:01:57 +00:00
grumbulon added this to the awl v0.3 release candidate project 2022-06-29 14:01:57 +00:00
sam closed this issue 2022-06-30 22:37:09 +00:00
Sign in to join this conversation.
No milestone
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: sam/awl#14
No description provided.