1 second delay - more detail and specifics

Barry Margolin barmar at alum.mit.edu
Mon May 30 16:09:26 UTC 2005


In article <d7fb5m$1fhv$1 at sf1.isc.org>,
 Wayne Walker <wwalker at bybent.com> wrote:

> OK,
> 
> db, via the search, resolves to db.gns.gnumber.com, which is a CNAME for
> gnumber1.gns.gnumber.com.
> 
> If I do "time host db" it takes 1.024 seconds when pointed to 127.0.0.1.
> If I do "time host db.gns.gnumber.com" it takes 0.012 seconds when pointed to 
> 127.0.0.1.
> Why the big delta????? search gns.gnumber.com should make these lookups
> identical, or make it two lookups.
> 
> If I do "time host db" it takes 0.020 seconds when pointed to 207.200.55.226.
> If I do "time host db.gns.gnumber.com" it takes 0.020 seconds when pointed to 
> 207.200.55.226.
> Since search make this the first or second lookup, this is what I'd
> expect.

Try using the -v option to host to see what it's doing.

-- 
Barry Margolin, barmar at alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***



More information about the bind-users mailing list