Re: [PHP] Temporary failure in name resolution - fsockopen()

2010-03-25 Thread shiplu
For faster dns lookup you can install dnsmasq package and make the local server cache. May be that'll solve your problem and the server will be faster. Shiplu Mokaddim My talks, http://talk.cmyweb.net Follow me, http://twitter.com/shiplu SUST Programmers, http://groups.google.com/group/p2psust In

Re: [PHP] Temporary failure in name resolution - fsockopen()

2010-03-25 Thread Nilesh Govindarajan
On 03/25/2010 07:01 PM, David Lidstone wrote: Nilesh Govindarajan wrote: On 03/25/2010 03:51 PM, David Lidstone wrote: We recently para-virtualised a Xen / CentOS box which is running script which uses fsockopen() to get a connection to an SMTP server. Since the server changes it fails approx

Re: [PHP] Temporary failure in name resolution - fsockopen()

2010-03-25 Thread David Lidstone
Nilesh Govindarajan wrote: On 03/25/2010 03:51 PM, David Lidstone wrote: We recently para-virtualised a Xen / CentOS box which is running script which uses fsockopen() to get a connection to an SMTP server. Since the server changes it fails approx 50% of the time with: "php_network_getaddresse

Re: [PHP] Temporary failure in name resolution - fsockopen()

2010-03-25 Thread Nilesh Govindarajan
On 03/25/2010 03:51 PM, David Lidstone wrote: We recently para-virtualised a Xen / CentOS box which is running script which uses fsockopen() to get a connection to an SMTP server. Since the server changes it fails approx 50% of the time with: "php_network_getaddresses: getaddrinfo failed: Tempo

[PHP] Temporary failure in name resolution - fsockopen()

2010-03-25 Thread David Lidstone
We recently para-virtualised a Xen / CentOS box which is running script which uses fsockopen() to get a connection to an SMTP server. Since the server changes it fails approx 50% of the time with: "php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution" We've trie