[RFC] Change checkdnsrr() $type argument behavior

From: Date: Sat, 20 Sep 2014 02:15:32 +0000
Subject: [RFC] Change checkdnsrr() $type argument behavior
Groups: php.internals 
Request: Send a blank email to internals+get-77360@lists.php.net to get a copy of this message
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

« previous php.internals (#77360) next »