DNS Connection Question
dsr at tao.merseine.nu
dsr at tao.merseine.nu
Wed Oct 20 10:28:02 EDT 2004
On Wed, Oct 20, 2004 at 11:14:06PM +0900, Derek Martin wrote:
> Off the top of my headI don't know exactly how DNS is implmented, but
> UDP doesn't require any of this -- all that is required are your
> initial packet containing your request, and the server's response. At
> least in theory, UDP should be faster. That's one reason why people
> use it even though it is stateless, and I believe that DNS is
> implemented this way precicely for reasons of efficiency.
>
> Having not done IT stuff for a couple of years now, I'm pretty rusty,
> so I'm sure someone will clean up my mess if I am mistaken... ;-)
Virtually every nameserver will have authoritative records for
"localhost" (although they may be "NXDOMAIN"). That should be a
minimal 1 packet request, 1 packet response, no waiting.
dig localhost @suspected_nameserver
-dsr-
More information about the Discuss
mailing list