[httperf] HTTPerf and DNS

Arlitt, Martin martin.arlitt at hp.com
Tue Dec 21 08:43:06 PST 2010


Hi Leon

httperf uses gethostbyname() to resolve the specified server name. this should perform a DNS lookup (it did when I just tried it on my system), although there could be issues with how the resolver on your client is configured (e.g., in /etc/resolv.conf). 

thanks
Martin


-----Original Message-----
From: httperf-bounces at linux.hpl.hp.com [mailto:httperf-bounces at linux.hpl.hp.com] On Behalf Of Leon LeBlanc
Sent: Monday, December 20, 2010 3:47 PM
To: httperf at linux.hpl.hp.com
Subject: [httperf] HTTPerf and DNS

Can someone confirm that httperf will not perform a DNS lookup?  The few experiments that I tried shows me that httperf relies on DNS cached entries or having the hostnames in /etc/hosts.

Thanks,

Leon
_______________________________________________
httperf mailing list
httperf at linux.hpl.hp.com
http://www.hpl.hp.com/hosted/linux/mail-archives/httperf/



More information about the httperf mailing list