Re: what is my dns ip address

From: Date: Mon, 03 Sep 2007 08:38:41 +0000
Subject: Re: what is my dns ip address
References: 1 2 3 4 5 6 7 8 9  Groups: php.general 
Request: Send a blank email to php-general+get-261630@lists.php.net to get a copy of this message
Olav Mørkrid wrote: > the source of the problem is gethostbyaddr(). it seems to have a 4,5 > second timeout, so some lookups time out after 4,5 seconds, while most > of them are resolved in < 0.1 second; a radically performance > difference. You can change the timeout be amending the options statement in /etc/resolv.conf: options timeout: 2 (2 seconds). See 'man resolv.conf'. /Per Jessen, Zürich

« previous php.general (#261630) next »