Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(15470)

Issue 6675043: code review 6675043: net: Add function to expose NS records for a domain (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by smcquay
Modified:
11 years, 6 months ago
Reviewers:
CC:
golang-dev, dfc, minux1, mikio, brainman, rsc, hgfischer
Visibility:
Public.

Description

net: add LookupNS(domain string) Fixes issue 4224.

Patch Set 1 : diff -r cfa9208b98fc https://code.google.com/p/go #

Patch Set 2 : diff -r cfa9208b98fc https://code.google.com/p/go #

Total comments: 2

Patch Set 3 : diff -r fc8137c00f9c https://code.google.com/p/go #

Total comments: 4

Patch Set 4 : diff -r fc8137c00f9c https://code.google.com/p/go #

Patch Set 5 : diff -r fc8137c00f9c https://code.google.com/p/go #

Patch Set 6 : diff -r fc8137c00f9c https://code.google.com/p/go #

Patch Set 7 : diff -r fc8137c00f9c https://code.google.com/p/go #

Patch Set 8 : diff -r fc8137c00f9c https://code.google.com/p/go #

Patch Set 9 : diff -r fc8137c00f9c https://code.google.com/p/go #

Patch Set 10 : diff -r fc8137c00f9c https://code.google.com/p/go #

Patch Set 11 : diff -r fc8137c00f9c https://code.google.com/p/go #

Patch Set 12 : diff -r fc8137c00f9c https://code.google.com/p/go #

Total comments: 2

Patch Set 13 : diff -r fc8137c00f9c https://code.google.com/p/go #

Total comments: 2

Patch Set 14 : diff -r 3e39b4ebe5b1 https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -0 lines) Patch
M src/pkg/net/dnsclient.go View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M src/pkg/net/lookup.go View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +5 lines, -0 lines 0 comments Download
M src/pkg/net/lookup_plan9.go View 1 2 3 4 1 chunk +15 lines, -0 lines 0 comments Download
M src/pkg/net/lookup_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +14 lines, -0 lines 0 comments Download
M src/pkg/net/lookup_unix.go View 1 chunk +13 lines, -0 lines 0 comments Download
M src/pkg/net/lookup_windows.go View 1 2 3 4 5 6 7 8 9 10 1 chunk +15 lines, -0 lines 0 comments Download

Messages

Total messages: 25
smcquay
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
11 years, 6 months ago (2012-10-13 04:10:11 UTC) #1
dfc
Fixes issue 4224. On Sat, Oct 13, 2012 at 3:10 PM, <stephen@mcquay.me> wrote: > Reviewers: ...
11 years, 6 months ago (2012-10-13 04:20:21 UTC) #2
minux1
https://codereview.appspot.com/6675043/diff/5001/src/pkg/net/dnsclient.go File src/pkg/net/dnsclient.go (right): https://codereview.appspot.com/6675043/diff/5001/src/pkg/net/dnsclient.go#newcode230 src/pkg/net/dnsclient.go:230: // An NS represents a single DNS NS record. ...
11 years, 6 months ago (2012-10-13 08:03:06 UTC) #3
smcquay
Hello golang-dev@googlegroups.com, dave@cheney.net, minux.ma@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 6 months ago (2012-10-13 14:45:33 UTC) #4
mikio
please add lookupNS func for plan9, windows too. https://codereview.appspot.com/6675043/diff/6005/src/pkg/net/lookup.go File src/pkg/net/lookup.go (right): https://codereview.appspot.com/6675043/diff/6005/src/pkg/net/lookup.go#newcode50 src/pkg/net/lookup.go:50: // ...
11 years, 6 months ago (2012-10-13 16:11:08 UTC) #5
smcquay
Hello golang-dev@googlegroups.com, dave@cheney.net, minux.ma@gmail.com, mikioh.mikioh@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 6 months ago (2012-10-14 02:26:10 UTC) #6
smcquay
On 2012/10/13 16:11:08, mikio wrote: > please add lookupNS func for plan9, windows too. I ...
11 years, 6 months ago (2012-10-14 02:30:09 UTC) #7
smcquay
Hello golang-dev@googlegroups.com, dave@cheney.net, minux.ma@gmail.com, mikioh.mikioh@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 6 months ago (2012-10-14 02:40:52 UTC) #8
dfc
Lucio and Alex/Mikio can help with plan9 / windows respectively. Please correct the issue fixed ...
11 years, 6 months ago (2012-10-14 02:46:16 UTC) #9
smcquay
On Sun, Oct 14, 2012 at 01:46:15PM +1100, Dave Cheney wrote: >Lucio and Alex/Mikio can ...
11 years, 6 months ago (2012-10-14 03:03:54 UTC) #10
minux1
You'd better simplify the description a bit, i suggest this: net: add LookupNS(domain string) Fixes ...
11 years, 6 months ago (2012-10-14 16:47:15 UTC) #11
smcquay
https://codereview.appspot.com/6675043/diff/6005/src/pkg/net/lookup.go File src/pkg/net/lookup.go (right): https://codereview.appspot.com/6675043/diff/6005/src/pkg/net/lookup.go#newcode50 src/pkg/net/lookup.go:50: // LookupNS returns the DNS NS records for the ...
11 years, 6 months ago (2012-10-14 20:28:51 UTC) #12
smcquay
On 2012/10/14 16:47:15, minux wrote: > For windows, you need to do more, as syscall ...
11 years, 6 months ago (2012-10-14 20:32:52 UTC) #13
brainman
LGTM Nicely done. Thank you. You are creating some new public names. Lets leave it ...
11 years, 6 months ago (2012-10-15 03:24:37 UTC) #14
smcquay
On Mon, Oct 15, 2012 at 03:24:37AM +0000, alex.brainman@gmail.com wrote: >LGTM > >Nicely done. Thank ...
11 years, 6 months ago (2012-10-15 04:04:33 UTC) #15
brainman
On 2012/10/15 04:04:33, smcquay wrote: > ... > I believe I've filled it out before, ...
11 years, 6 months ago (2012-10-15 04:08:00 UTC) #16
smcquay
https://codereview.appspot.com/6675043/diff/11007/src/pkg/net/lookup_test.go File src/pkg/net/lookup_test.go (right): https://codereview.appspot.com/6675043/diff/11007/src/pkg/net/lookup_test.go#newcode60 src/pkg/net/lookup_test.go:60: mx, err := LookupNS("gmail.com") On 2012/10/15 03:24:37, brainman wrote: ...
11 years, 6 months ago (2012-10-15 04:47:54 UTC) #17
rsc
Sorry for being late to this game, but why is this useful? LookupMX returns an ...
11 years, 6 months ago (2012-10-15 17:43:20 UTC) #18
smcquay
rsc -- On Mon, Oct 15, 2012 at 05:43:21PM +0000, rsc@golang.org wrote: >Sorry for being ...
11 years, 6 months ago (2012-10-15 18:25:00 UTC) #19
hgfischer
On 2012/10/15 18:25:00, smcquay wrote: > I am guessing that the reporter had reason to ...
11 years, 6 months ago (2012-10-15 23:38:36 UTC) #20
rsc
LGTM Thanks for the explanation. Leaving for Mikio.
11 years, 6 months ago (2012-10-16 17:39:17 UTC) #21
mikio
https://codereview.appspot.com/6675043/diff/12022/src/pkg/net/lookup_test.go File src/pkg/net/lookup_test.go (right): https://codereview.appspot.com/6675043/diff/12022/src/pkg/net/lookup_test.go#newcode60 src/pkg/net/lookup_test.go:60: mx, err := LookupNS("gmail.com") s/mx/ns/ https://codereview.appspot.com/6675043/diff/12022/src/pkg/net/lookup_test.go#newcode64 src/pkg/net/lookup_test.go:64: if len(mx) ...
11 years, 6 months ago (2012-10-18 00:42:49 UTC) #22
smcquay
Sorry, I should've caught these; changed.
11 years, 6 months ago (2012-10-18 03:06:09 UTC) #23
mikio
LGTM
11 years, 6 months ago (2012-10-18 06:38:47 UTC) #24
mikio
11 years, 6 months ago (2012-10-18 06:39:26 UTC) #25
*** Submitted as http://code.google.com/p/go/source/detail?r=eb854c88d4a6 ***

net: add LookupNS(domain string)
Fixes issue 4224.

R=golang-dev, dave, minux.ma, mikioh.mikioh, alex.brainman, rsc, herbert.fischer
CC=golang-dev
http://codereview.appspot.com/6675043

Committer: Mikio Hara <mikioh.mikioh@gmail.com>
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b