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

Comments

Projects
None yet
5 participants
@hgfischer
Copy link
Contributor

commented Oct 10, 2012

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

This comment has been minimized.

Copy link

commented Oct 15, 2012

Comment 1 by stephen@mcquay.me:

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

This comment has been minimized.

Copy link
Member

commented Oct 15, 2012

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

This comment has been minimized.

Copy link
Contributor Author

commented Oct 15, 2012

Comment 3:

Sure, I'm commenting in there.
@mikioh

This comment has been minimized.

Copy link
Contributor

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.
You can’t perform that action at this time.