d <(E-Mail Removed)> wrote:
> I have a DELL 2650 installed with FC5. After setting up the network I
> executed some ping test to test the connections. Within the LAN the
> ping replies are as expected. However, when I ping servers outside the
> LAN I've noticed a slight delay in the reply of what I think is the DNS
> lookup. After that the replies are as expected. Example:
> linux% ping cnet.com
> PING cnet.com (216.239.113.101) 56(84) bytes of data.
> (*** here is where the delay is; about 2 seconds or so ***)
If the delay is after the header is displayed, I'd think that implies
the DNS lookup was already done - after all, where else could it get
the IP it displayed.
Unless, perhaps the ping program, for whatever reason is doing a "PTR"
lookup on the source IP of the first ping reply, but I'm not sure why
it would do that.
I would suggest taking a system call trace of the ping command. The
system calls associated with a DNS query are pretty easy to see -
generally they involve SOCK_DGRAM and port 53, and/or operations on
FD's where calls with such settings have been made.
rick jones
--
oxymoron n, commuter in a gas-guzzling luxury SUV with an American flag
these opinions are mine, all mine; HP might not want them anyway...

feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...