Re: [RFC] Change checkdnsrr() $type argument behavior
| From: | Sanford Whiteman | Date: | Tue, 23 Sep 2014 18:47:51 +0000 |
| Subject: | Re: [RFC] Change checkdnsrr() $type argument behavior | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-77553@lists.php.net to get a copy of this message | ||
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...