-
Notifications
You must be signed in to change notification settings - Fork 17.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proposal: net: add LookupSOA function #35061
Comments
Change https://golang.org/cl/202599 mentions this issue: |
This is new API so I've turned it into a proposal. I wonder if this should be in the x/net package somewhere. |
@ianlancetaylor should we also move unused DNS related functions such as There is https://godoc.org/golang.org/x/net/dns/dnsmessage, maybe it can go in x/net/dns somewhere? I understand the goal is to keep stdlib as minimal as possible |
We can't move any existing functions. I'm just not sure whether any news ones are needed. |
Ok, should I close this issue and find an alternate solution or does this mean we are waiting :) |
This issue is currently a proposal and the proposal review committee will look at it. It's kind of up to you how you want to proceed. |
I am fine with whichever direction is decided, I will leave this open til there is a decision |
There are many many DNS record types. We can't support all of them in package net. |
Based on the discussion above, this seems like a likely decline. |
@rsc in this case, I have no objections on this, I was expecting this would likely get declined after conversation with others anyhow :) |
Reopening until/if a decline is final |
No change in consensus, so declined. |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Looked at source of net package under the
net.go
fileWhat did you expect to see?
LookupSOA
functionsWhat did you see instead?
Not implemented, I am interested in helping implement this based on the other helpers such as
LookupIP
if these just haven't been implemented yetThe text was updated successfully, but these errors were encountered: