Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77553 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 49047 invoked from network); 23 Sep 2014 18:47:55 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Sep 2014 18:47:55 -0000 Authentication-Results: pb1.pair.com smtp.mail=figureonecpr@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=figureonecpr@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.196 as permitted sender) X-PHP-List-Original-Sender: figureonecpr@gmail.com X-Host-Fingerprint: 74.125.82.196 mail-we0-f196.google.com Received: from [74.125.82.196] ([74.125.82.196:52816] helo=mail-we0-f196.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 61/85-20247-950C1245 for ; Tue, 23 Sep 2014 14:47:54 -0400 Received: by mail-we0-f196.google.com with SMTP id k48so1555376wev.11 for ; Tue, 23 Sep 2014 11:47:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=iRrZXWmoUsJxhtc1dnmRArzSeR8r3vvfTYq7G3QOrsI=; b=jTkriZgipiFIyvXd/LICgXoNhcffWdyn+nMK8ahfEDXFdkGB360xLsqUnPR6Zj9Zi/ LQG/yCN77jTdtdFkB1QEM5yXqaHpQ+Ux3dXic6Iuapu+sVcdcfnd9Nu0CJfHq+3GeIAO yl+NV6TNUN8Ej+lAyP3eUbqKdnCdTj2rv/iky+9zqA1UVLBrAvces4T0S7s42YmOQsfG nkYK7VJjn0HcxJ1o09v741jTbanEV/lU50pFSRa8lTFFGU0kylwutKnfs/T5A3Ybh9zA IpUvpX4X+0kxtq2fqofQFmE4txqxV17tii9zsUK2SRCPOdmDOiHhZNFRGqXrKuKbaIrb dxbg== MIME-Version: 1.0 X-Received: by 10.180.231.9 with SMTP id tc9mr4110160wic.58.1411498071278; Tue, 23 Sep 2014 11:47:51 -0700 (PDT) Received: by 10.216.194.132 with HTTP; Tue, 23 Sep 2014 11:47:51 -0700 (PDT) In-Reply-To: <5421371E.6070601@php.net> References: <54212042.7060600@php.net> <54213396.4080403@php.net> <5421371E.6070601@php.net> Date: Tue, 23 Sep 2014 14:47:51 -0400 Message-ID: To: Michael Wallner Cc: Pierre Joye , Kris Craig , PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Change checkdnsrr() $type argument behavior From: figureonecpr@gmail.com (Sanford Whiteman) Hi Mike, > So it could still be seen as "works as expected", because it just checks if any answer is received. If that functionality is useful could be debatable. That's not expected. Chasing (dereferencing) CNAMEs is one of the understood burdens of any DNS app; you can't treat the CNAME itself as a positive response. Luckily standard apps don't rely on DNS-to-boolean conversion like this or else the 'Net wouldn't work. I'm glad you see I wasn't blowing smoke here. -- S. P.S. chekdnsrr() does the same thing for CNAMEs w/other RRtypes as well, by the way. It'll confirm that www.php.net has an SRV record. I mean, geez...