github.com/shogo82148/std@v1.22.1-0.20240327122250-4e474527810c/net/dnsclient_unix.go (about) 1 // Copyright 2009 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 // DNS client: see RFC 1035. 6 // Has to be linked into package net for Dial. 7 8 // TODO(rsc): 9 // Could potentially handle many outstanding lookups faster. 10 // Random UDP source port (net.Dial should do that for us). 11 // Random request IDs. 12 13 package net