Skip to content
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

net: Implement LookupNS(domain string) #4224

Closed
hgfischer opened this issue Oct 10, 2012 · 4 comments
Closed

net: Implement LookupNS(domain string) #4224

hgfischer opened this issue Oct 10, 2012 · 4 comments
Milestone

Comments

@hgfischer
Copy link
Contributor

Hi,

Just like net.LookupMX(...) would be good to have a net.LookupNS(...) function so we can
use it in some Go applications.

I've checked Go's net package source and found that the DNS record constants are there
and the lookup function is there too, but we can't use them externally. Maybe if we had
a general Lookup function?

tks!
@gopherbot
Copy link

Comment 1 by stephen@mcquay.me:

I have a LGTM on review 6675043. Just gated on the formalities.

@alexbrainman
Copy link
Member

Comment 2:

@herbert.fischer,
There is a fix https://golang.org/cl/6675043 to your issue. But some people
https://golang.org/cl/6675043/#msg18 question useability of this change. Would
you like to comment?
Alex

@hgfischer
Copy link
Contributor Author

Comment 3:

Sure, I'm commenting in there.

@mikioh
Copy link
Contributor

mikioh commented Oct 18, 2012

Comment 4:

This issue was closed by revision a5b0c67.

Status changed to Fixed.

@rsc rsc added this to the Go1.1 milestone Apr 14, 2015
@rsc rsc removed the go1.1 label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants