#23407 [Csd]: dns_get_record should support more RR types

From: Date: Tue, 29 Apr 2003 22:25:51 +0000
Subject: #23407 [Csd]: dns_get_record should support more RR types
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-38775@lists.php.net to get a copy of this message
ID: 23407 User updated by: axelm at nic dot at Reported By: axelm at nic dot at Status: Closed Bug Type: Feature/Change Request Operating System: n/a PHP Version: 4.3.2RC2 Assigned To: pollita New Comment: thanks for that _turbo_ fix/addition. I had simply no _chance_ to contribute :) very appreciated! axelm Previous Comments: ------------------------------------------------------------------------ [2003-04-29 17:02:43] pollita@php.net This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. Okay, so I'm impatient. Support should be in the next snapshot of PHP5 http://snaps.php.net ------------------------------------------------------------------------ [2003-04-29 15:32:35] pollita@php.net Well, I found the RFCs (2052 SRV and 2915 NAPTR) but I'd still like to see some samples to help make sure I understand their use properly. I havn't looked through NAPTR yet, but SRV looks very cool, I often wondered why there was no protocol non-specific version of MX. I'm assigning this to myself to update dns_get_record() and will look into the feasability of integrating these lookups into the url fopen wrappers and possibly (but less likely) the win32 (socket based) implementation of mail(). ------------------------------------------------------------------------ [2003-04-29 13:33:19] pollita@php.net I'm all for it. The function's range of support however, was limited by the resource records I was familiar enough with to be able to test and process. If you'd like to provide samples of the usage of other records (like the ones you mentioned) and (even better) a link to the RFC which describes their use and behavior, I'd be happy to add them in. ------------------------------------------------------------------------ [2003-04-29 08:05:12] axelm at nic dot at Why add a new function to PHP which supports only a subset of known/used DNS RR's? Several types (e.g. SRV, NAPTR) will gain in importance over the next few months/years, so why not include them from start? just my 0.02EUR ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23407&edit=1

« previous php.bugs (#38775) next »