Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upDNS SRV fixed in upstream Go, switch to native LookupSRV in Prometheus now? #360
Comments
This comment has been minimized.
This comment has been minimized.
|
/cc @discordianfish |
This comment has been minimized.
This comment has been minimized.
|
@fabxc Is that still valid? We use github.com/miekg/dns in retrieval/discovery/dns.go . Is that still needed/intended? |
This comment has been minimized.
This comment has been minimized.
|
We would have to re-try with the standard library. The fix back then didn't solve all problems IIRC, but it might be all good nowadays. |
This comment has been minimized.
This comment has been minimized.
|
What are the reasons to switch? |
This comment has been minimized.
This comment has been minimized.
|
@grobie All things being equal, it's always nicer to use the standard library for something (if it works). Less dependencies, often simpler and almost guaranteed to be well-maintained. |
This comment has been minimized.
This comment has been minimized.
|
That said, there's no pressure here at all to change this. |
This comment has been minimized.
This comment has been minimized.
|
Having this in the back of my head for some time. Once this area is a bit On Thu, May 21, 2015 at 6:13 PM Julius Volz notifications@github.com
|
juliusv
referenced this issue
Jun 24, 2015
Closed
Env variable to specify nameserver for local testing #839
brian-brazil
added
the
feature-request
label
Dec 16, 2015
fabxc
added
kind/enhancement
and removed
feature request
labels
Apr 28, 2016
This comment has been minimized.
This comment has been minimized.
|
The golang stdlib DNS resolver still doesn't support EDNS0 and there are no signs they're going to implement it anytime soon. There are DNS recursors which assume EDNS0 to be always supported. I'm in favor of closing this issue. |
This comment has been minimized.
This comment has been minimized.
|
Makes sense to me, this has been lying around a while with no sign of the Go library being ready for our use yet.
Such recursors are broken. |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
True, but not helpful. |
grobie
closed this
May 20, 2016
This comment has been minimized.
This comment has been minimized.
|
Reopening because the head of Typical error message: We are just staying with the vendored version we have, but looking at the commit log of We have to revisit the issue in that light: Investigate standard library capabilities once more on the one hand, and finding out what's wrong with newer versions of |
beorn7
reopened this
Oct 30, 2016
beorn7
referenced this issue
Oct 30, 2016
Merged
Revert "Update github.com/miekg/dns to pull in bug fixes." #2135
This comment has been minimized.
This comment has been minimized.
|
I assume nobody reported the bug to miekg/dns yet? This looks like ErrTruncated: https://godoc.org/github.com/miekg/dns#pkg-variables |
This comment has been minimized.
This comment has been minimized.
|
@discordianfish Thanks. That could very well be it. I just had no time to look into details here. I'll have a look as soon as I'm done with all those higher-priority tasks. |
beorn7
self-assigned this
Oct 31, 2016
This comment has been minimized.
This comment has been minimized.
|
Addressed in #2153 |
beorn7
referenced this issue
Nov 3, 2016
Merged
Improve DNS error reporting and update to current miekg/dns #2153
beorn7
closed this
Nov 3, 2016
simonpasquier
pushed a commit
to simonpasquier/prometheus
that referenced
this issue
Oct 12, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
juliusv commentedAug 13, 2013
https://code.google.com/p/go/source/detail?r=77ceb1db4a1e