Re: Why does checkdnsrr() default to MX??

From: Date: Thu, 18 Sep 2014 21:47:36 +0000
Subject: Re: Why does checkdnsrr() default to MX??
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-77319@lists.php.net to get a copy of this message
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 <rowan.collins@gmail.com> 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

« previous php.internals (#77319) next »