Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77360 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 61312 invoked from network); 20 Sep 2014 02:15:36 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Sep 2014 02:15:36 -0000 Authentication-Results: pb1.pair.com header.from=kris.craig@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=kris.craig@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.219.43 as permitted sender) X-PHP-List-Original-Sender: kris.craig@gmail.com X-Host-Fingerprint: 209.85.219.43 mail-oa0-f43.google.com Received: from [209.85.219.43] ([209.85.219.43:37844] helo=mail-oa0-f43.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 48/D7-13213-743EC145 for ; Fri, 19 Sep 2014 22:15:35 -0400 Received: by mail-oa0-f43.google.com with SMTP id m19so2396979oag.2 for ; Fri, 19 Sep 2014 19:15:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=tWsUy57QNXMGTALktXBqIj8s7CiDUakfStwu6sZvxq0=; b=t1RFMceWmlGhcq5EaccrXzCCwnbekxFjX5mMVKGM8ldvCwHYbrjs3r56B9LvbC5jVM F2ZGfMnl3wJwjdF1BIgq3SKn75gm9rDrMazijf173edhq34mWlNJH14WwwizW/zAeIX7 0nOGPG7hplWRzV2jLRL01SJwYmAWiV7rLZUKGg1PzaXFImh1l+OIZYn970Etovva0XKE EWRUp7690u2egDw8Fr9C8l65xQv+ytPhYKp23JbBfCtzd6SJmpsupVCiP/LlveKzuG53 KXss8d/p2A8HoEf9glnlOFNgx1xk9TFz1OIErTKjQHe/jpzQWfOOdzleVZVgF8pq0D+/ H3NQ== MIME-Version: 1.0 X-Received: by 10.60.130.170 with SMTP id of10mr5188429oeb.10.1411179332670; Fri, 19 Sep 2014 19:15:32 -0700 (PDT) Received: by 10.202.227.206 with HTTP; Fri, 19 Sep 2014 19:15:32 -0700 (PDT) Date: Fri, 19 Sep 2014 19:15:32 -0700 Message-ID: To: PHP internals list Content-Type: multipart/alternative; boundary=089e013a110ed69f7b050375ca16 Subject: [RFC] Change checkdnsrr() $type argument behavior From: kris.craig@gmail.com (Kris Craig) --089e013a110ed69f7b050375ca16 Content-Type: text/plain; charset=UTF-8 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. --Kris --089e013a110ed69f7b050375ca16--