[Dnsmasq-discuss] how to add a short delay to DNS response?

compek at gmail.com compek at gmail.com
Tue Feb 5 20:15:39 GMT 2013


Hello everyone,

for education purposes I would like to learn how slow DNS responses
impact on an application' performance. My intention is to insert a
usleep(100000); in forward.c to add an additional 100ms to "Query time".

Could you suggest a right placement for the "usleep" in forward.c (or
other source file) so that it will apply only once during a transaction?

Thanks for your help!

Best regards,
Pavel




More information about the Dnsmasq-discuss mailing list