Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:77319 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 10862 invoked from network); 18 Sep 2014 21:47:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Sep 2014 21:47:40 -0000 Authentication-Results: pb1.pair.com header.from=figureonecpr@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=figureonecpr@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.194 as permitted sender) X-PHP-List-Original-Sender: figureonecpr@gmail.com X-Host-Fingerprint: 74.125.82.194 mail-we0-f194.google.com Received: from [74.125.82.194] ([74.125.82.194:55317] helo=mail-we0-f194.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E3/B0-07171-BF25B145 for ; Thu, 18 Sep 2014 17:47:39 -0400 Received: by mail-we0-f194.google.com with SMTP id u57so428530wes.9 for ; Thu, 18 Sep 2014 14:47:36 -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 :content-type; bh=qTpU6TAts7dXroXdkF9UxkWxbjZSdSdVo0uioYt75tw=; b=ghpXAb0KP8R95u33H280lElxOvH6t1e/n3OhbWDdUiw0d42wYbR37lWvrW6356NQlj 6HEj5tjksRd3AHLSvJloii/nPh+mxukXdQWxi3miTnWwPwxrWcVWaaYOyxvdIjzUfYl5 YJkUjIZr30gBQH7JVFXeJgNF1XhnblnScyobP1yzsDoAdwGoayVKqaiQJMhzRySTUgVU M+O3YaXI5f2bLfif1eXsBtq3x6zvrPxbEo3Y1p2O4kiHGWpI4hK8LQKnuqhyFNqMlDeK jYjAWykMSI0ZFyyohMwNfm2zIxCAs0g4S7b6trohT7z+ZWtCd4cYd2tVy5mYjI0xrfeY CNBg== MIME-Version: 1.0 X-Received: by 10.180.83.39 with SMTP id n7mr31321138wiy.0.1411076856125; Thu, 18 Sep 2014 14:47:36 -0700 (PDT) Received: by 10.216.194.132 with HTTP; Thu, 18 Sep 2014 14:47:36 -0700 (PDT) In-Reply-To: <450d2cb6-d53c-4a0a-b9c0-e6a97ce7bc27@email.android.com> References: <4bf4c18f-173d-45c9-a7e8-344f5ebcb47f@email.android.com> <450d2cb6-d53c-4a0a-b9c0-e6a97ce7bc27@email.android.com> Date: Thu, 18 Sep 2014 17:47:36 -0400 Message-ID: To: Rowan Collins Content-Type: multipart/alternative; boundary=f46d04430466c2a31505035deee9 Subject: Re: [PHP-DEV] Why does checkdnsrr() default to MX?? From: figureonecpr@gmail.com (Sanford Whiteman) --f46d04430466c2a31505035deee9 Content-Type: text/plain; charset=UTF-8 I was just composing an e-mail advising you to follow general netiquette rules and read the original post. :) I disagree utterly that I did not sufficiently address the question. I addressed it in multiple ways: [1] ANY queries create extraneous traffic, so you want fewer PHP functions defaulting to them, not more; [2] ANY queries may fail, giving a false negative, when individual RRs would succeed; [3] An ANY query that only reduces to a *boolean *is a particular waste of energy and network traffic if you're trying to see whether a domain has any records, as you can use SOA for that, with no loss of fidelity; [4] *if* checkdnsrr() is generalized from dns_get_mx() that is another explanation I think [4] is actually my weakest point. -- S. On Thu, Sep 18, 2014 at 5:32 PM, Rowan Collins wrote: > On 18 September 2014 22:19:46 GMT+01:00, Rowan Collins < > rowan.collins@gmail.com> wrote: > > > >I hope this message doesn't sound too negative, and look forward to > >clarification of your thoughts. > > > > > > > Apologies, I've just realised that that message wasn't in fact the > beginning of the thread, so some of my comments are way off base. > > Out of context, it looked like a bit of a rant about how ANY could never > be a useful option. Still, the only line that really addressed the question > was this: > > > I don't think there's anything askew in MX being the > default > for checkdnsrr() if you think of it as a cut-down generalization of > checkdmsmx() > > (Sorry, that's not a direct quote because I'm having copy and paste > issues.) > > Sorry again for the misunderstanding. > -- > Rowan --f46d04430466c2a31505035deee9--