Re: Re: [PATCH]s New Function getanyrr() proposal
| From: | Derick Rethans | Date: | Sun, 17 Nov 2002 00:08:52 +0000 |
| Subject: | Re: Re: [PATCH]s New Function getanyrr() proposal | ||
| References: | 1 2 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91153@lists.php.net to get a copy of this message | ||
On Sat, 16 Nov 2002 nicos@php.net wrote:
> After having reviewed this one, I saw few changes to do, I asked Pollita
> and he did them. He is sending a new patch and I vote +1 for it.
I would favor discussing those private things on the developers list, as
it's exactly meant for that.
Derick
> "Pollita" <php@alphaweb.net> a écrit dans le message de news:
> 1025.206.15.1.159.1037484637.squirrel@webmailtest.golemon.com...
> > The three attached patch files (to be applied in ext/standard/ ) introduce
> > a new function: getanyrr(). Where the existing getmxrr() will retrieve MX
> > records for a given host, getanyrr() will return all standard INET DNS
> > Resource Records.
> >
> > proto:
> > array getanyrr(string hostname [, string type[, array authns, array
> > addtl]])
> >
> > "Type" is optional and can be any of "ANY", "A",
> > "MX", "CNAME", "NS",
> > "TXT", "SOA", "HINFO", or "PTR". "ANY"
> > is default.
> >
> > getanyrr returns an index array of associative arrays. Each associative
> > array contains 'host', 'type', 'class', 'ttl', and
> > one or more additional
> > records depending on type.
> >
> > The third and fourth arguments are pass-by-ref arrays with the same
> > structure as the function return argument. "authns" contains a list of
> > authoritative name servers, while "addtl" contains additional relevant
> > records (typically A records for the name servers).
> >
> > Further documentation to be submitted to PHP-DOC when and if attached
> > patches are accepted and committed to CVS.
> >
> > basic_functions.c Patch against r1.543
> > dns.c Patch against r1.44
> > dns.h Patch against r1.11
> >
> >
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
---------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
JDI Media Solutions
--------------[ if you hold a unix shell to your ear, do you hear the c? ]-