Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67804 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 19930 invoked from network); 25 Jun 2013 12:41:01 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jun 2013 12:41:01 -0000 Authentication-Results: pb1.pair.com smtp.mail=falundir@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=falundir@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.180 as permitted sender) X-PHP-List-Original-Sender: falundir@gmail.com X-Host-Fingerprint: 209.85.215.180 mail-ea0-f180.google.com Received: from [209.85.215.180] ([209.85.215.180:37506] helo=mail-ea0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 06/8E-49518-CDF89C15 for ; Tue, 25 Jun 2013 08:41:01 -0400 Received: by mail-ea0-f180.google.com with SMTP id k10so6778542eaj.39 for ; Tue, 25 Jun 2013 05:40:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=XDEDhI7WXJMucpUUzaQweZors0l4ySVI4a2BKEExbQ4=; b=OhCag4zN2rxvO/erYX9sEcEBB7DGt3tzclwoBP0AUyeTGPtw6pxBTYeQ8qSmuLkYNK ZGT1WOQnAFcRm7JrxtHKC+sfvgalwrqTfeb+MtkD6nD1yhjar+CenaAkeylrKz2cx4wA /rg1+5s1tqovm4GCbEUJWr51V4p5LmlbnIH2ppcxHnF1QX4XjhivXCb2NNfTL1UU3q01 fZMZBMkmPlru1xnLVJS0LBSgAZ5Y887O+CmrscAwW6rA0Fmox/zN2JQG0CgdPqWrUSDQ LdaepsA2h1sKEdpZ47akX/uLZ7mHjbYCvMqlnSk2qa8EBd3UDGZAv/RX4bWLhyo5nA+R iAXg== X-Received: by 10.14.241.5 with SMTP id f5mr29808041eer.131.1372164058125; Tue, 25 Jun 2013 05:40:58 -0700 (PDT) Received: from [150.254.4.170] (furgas.devel.put.poznan.pl. [150.254.4.170]) by mx.google.com with ESMTPSA id w43sm35711633eez.6.2013.06.25.05.40.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Jun 2013 05:40:57 -0700 (PDT) Message-ID: <51C98FD6.2070401@gmail.com> Date: Tue, 25 Jun 2013 14:40:54 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Subject: DNS RoundRobin handling From: falundir@gmail.com (Tomasz Sawicki) Hi all, I'm having trouble to utilize DNS RoundRobin. It's described in StackOverflow question: http://stackoverflow.com/questions/17209912/php-not-respecting-roundrobin-in-dns In short: file_get_contents, SOAP extension always connect to the first (lowest) IP address, and gethostbyname resolves the address correctly using RoundRobin algorithm (ping, wget, nslookup, etc. works with RoundRobin too). Is this desired behaviour (if so - why) or should I report a bug? Thanks. -- Tomasz Sawicki