From owner-freebsd-questions@FreeBSD.ORG Wed Feb 27 12:55:12 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A941106566C for ; Wed, 27 Feb 2008 12:55:12 +0000 (UTC) (envelope-from ginganutz@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.237]) by mx1.freebsd.org (Postfix) with ESMTP id 658578FC23 for ; Wed, 27 Feb 2008 12:55:12 +0000 (UTC) (envelope-from ginganutz@gmail.com) Received: by wr-out-0506.google.com with SMTP id 68so4141052wri.3 for ; Wed, 27 Feb 2008 04:55:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=UlkBeo2n3G1FUlggutPtAmMeTHfgGEnwUUSJtMIiG30=; b=bex6EbDbnkTCSVkcvIeST75lza6YBp+P4jMwUw9SAUKMw028gBhR5oNplgpayk+Z56YmaRbr/bJcS1Cm/rfA1M6aQy/ce2QP6dCUaq9hNXKOTuCNFkA+Dz07MNspzu6oRO2J3wfAZ1MDFP7oy3ErOKaLX2tZnJ2m/9QZW+IdUhQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Kcu9eK5VtQ9ZYCyUhghq48Q0FpbWqyKE12z1ZhADa+9PfmcMF8mqYZZXsUOF4EepfXRAbRJR0Qg2fYnvfXMWRJccWgmaT1OYaSat/+jCmQ6euekaCQukdg6kAzzlkYlnird8lRIUSTh5Q2V5uVHRtE4HRUpfYeC38mqa4uXckJY= Received: by 10.115.73.20 with SMTP id a20mr457670wal.32.1204115465128; Wed, 27 Feb 2008 04:31:05 -0800 (PST) Received: by 10.115.95.19 with HTTP; Wed, 27 Feb 2008 04:31:05 -0800 (PST) Message-ID: <101567640802270431h69e443c9n63090e4b260f3a7b@mail.gmail.com> Date: Wed, 27 Feb 2008 12:31:05 +0000 From: "Simon Street" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: FreeBSD 6.2+PHP+700 sites = DNS Issues? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Feb 2008 12:55:12 -0000 Hi, I have a customer with a cPanel install on 6.2, Apache/2.2.8 with PHP/5.2.5 (DSO) The server is having problem with dns resolution: Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: hostname nor servname provided, or not known in /snip/support.php on line 2. This script works fine on the CLI but inside apache it fails. I've been told by cpanel support that this is a problem with FreeBSD more than anything and I'm wondering if anyone has any suggestions on fixes, either sysctl tweaks or otherwise. cPanel have tried changing FD options on apache but to no avail. Upgrading to 6.3 is an option if that will fix it. Any thoughts? Thanks, Simon