php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #23407 dns_get_record should support more RR types
Submitted: 2003-04-29 08:05 UTC Modified: 2003-04-29 17:25 UTC
From: axelm at nic dot at Assigned: pollita (profile)
Status: Closed Package: Feature/Change Request
PHP Version: 4.3.2RC2 OS: n/a
Private report: No CVE-ID: None
 [2003-04-29 08:05 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-29 13:33 UTC] 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 15:32 UTC] 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 17:02 UTC] 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 17:25 UTC] axelm at nic dot at
thanks for that _turbo_ fix/addition. I had simply no _chance_ to contribute :)

very appreciated!

axelm
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 00:01:27 2024 UTC