Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77423 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 76095 invoked from network); 22 Sep 2014 06:52:45 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Sep 2014 06:52:45 -0000 Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.169 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.169 mail-qc0-f169.google.com Received: from [209.85.216.169] ([209.85.216.169:64115] helo=mail-qc0-f169.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 05/60-08225-C37CF145 for ; Mon, 22 Sep 2014 02:52:44 -0400 Received: by mail-qc0-f169.google.com with SMTP id r5so5730085qcx.0 for ; Sun, 21 Sep 2014 23:52:41 -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=+m5OLD/c88df8eu7biLqcDvf/TNA7We512FnLL8sPYE=; b=XO930SRz9ULShefMqnADWFV26ntngi/PanjyV7SB/wL+Hng9JcxmAN7s9ZPWufCfcV 1tIZ7ppdluR63pz7Y0OKu8ioH34hoFUNfE6knJ5RNiXsTmuqvd4ny7JcB1EzbR3RLTTj wYgsMWBRkkYIMrea5cIKV4CkVU4vzOpfH9exJrZEmbli+78AfcSbUyzHXieQbrPKyvMy mptDpVf65MAyF8VQtv/CyUKoGKhhsmT8MQi81sxHPM5b6HMObv44I3WuMUEfKDU6vhyZ CNNxc6jMnaUkfD3r2n0sQ9cRHupNqfPYUs5BkH79R44OEWWKkgY8dC5d5aZSRuXXQZO0 dDkA== MIME-Version: 1.0 X-Received: by 10.140.38.231 with SMTP id t94mr19483095qgt.3.1411368761439; Sun, 21 Sep 2014 23:52:41 -0700 (PDT) Received: by 10.140.22.51 with HTTP; Sun, 21 Sep 2014 23:52:41 -0700 (PDT) In-Reply-To: References: Date: Mon, 22 Sep 2014 08:52:41 +0200 Message-ID: To: Kris Craig Cc: PHP internals list Content-Type: text/plain; charset=UTF-8 Subject: Re: [PHP-DEV] [RFC] Change checkdnsrr() $type argument behavior From: pierre.php@gmail.com (Pierre Joye) hi Kris, On Sat, Sep 20, 2014 at 4:15 AM, Kris Craig wrote: > Per discussion in an earlier thread. Here's the RFC: > > https://wiki.php.net/rfc/checkdnsrr-default-type > > > Basically, this RFC seeks to make it so that PHP's checkdnsrr() function, > which is most commonly used to see whether or not a hostname exists, no > longer restricts itself to only MX records by default. > > Though the RFC itself is a no-brainer, the more difficult question is which > solution should be implemented. The two options currently presented are > changing default from "MX" to "ANY", which would cause it to check all > records and not just MX; and getting rid of the default altogether and > making it so that the argument is required. > > From what I can tell, there are valid arguments to be made for both, so I > would love to see some discussion/debate here regarding which solution > should be implemented, as I'm currently undecided. Also please feel free > to point out any areas of improvement for the RFC itself. I am not sure which problem this RFC tries to solve, do you have any example showing the issues please? Cheers, -- Pierre @pierrejoye | http://www.libgd.org