IPv6 DNS records with dns_*() functions

php.internals

Ron Korving

22 years ago
Hi, I noticed the DNS record lookup functions (in the documentation) all refer to AAAA as an IPv6 type record. Actually, AAAA is obsolete now.. Of course, in PHP it would be very wise to support AAAA, but the official type is A6. You may want to start supporting that in the dns_() functions, or if it already works, you may want to update the documentation on these functions. Ron

Sara Golemon

22 years ago
> I noticed the DNS record lookup functions (in the documentation) all refer > to AAAA as an IPv6 type record. Actually, AAAA is obsolete now.. Of
course,
> in PHP it would be very wise to support AAAA, but the official type is A6. > You may want to start supporting that in the dns_() functions, or if it > already works, you may want to update the documentation on these
functions.
>
That's certainly doable, but to help track it, could you create a feature request for it at bugs.php.net? Also, links to any RFC or other documents pertaining to implementation would be helpful. I'll add this into dns_*() for PHP 5.1.0 and to Net_DNS for the next release of that package. -Sara

Sara Golemon

22 years ago
> > I noticed the DNS record lookup functions (in the documentation) all
refer
> > to AAAA as an IPv6 type record. Actually, AAAA is obsolete now.. Of > course, > > in PHP it would be very wise to support AAAA, but the official type is
A6.
> > You may want to start supporting that in the dns_() functions, or if it > > already works, you may want to update the documentation on these > functions. > > > That's certainly doable, but to help track it, could you create a feature > request for it at bugs.php.net? >
Nevermind I already added it in. -Sara

Ron Korving

22 years ago
Oh, okay... so no need for me to create a feature request? Ron "Sara Golemon" <pollita@php.net> wrote in message news:20040806183927.95139.qmail@pb1.pair.com...
> > > I noticed the DNS record lookup functions (in the documentation) all > refer > > > to AAAA as an IPv6 type record. Actually, AAAA is obsolete now.. Of > > course, > > > in PHP it would be very wise to support AAAA, but the official type is > A6. > > > You may want to start supporting that in the dns_() functions, or if
it
> > > already works, you may want to update the documentation on these > > functions. > > > > > That's certainly doable, but to help track it, could you create a
feature

Sara Golemon

22 years ago
> > Nevermind I already added it in. > > > Oh, okay... so no need for me to create a feature request? >
Nah, yer too slow ;) -Sara

Ron Korving

22 years ago
lol :) "Sara Golemon" <pollita@php.net> wrote in message news:20040806194026.21047.qmail@pb1.pair.com...

Stefan Esser

22 years ago
Hello all, Ron Korving wrote:
> I noticed the DNS record lookup functions (in the documentation) all refer > to AAAA as an IPv6 type record. Actually, AAAA is obsolete now.. Of course, > in PHP it would be very wise to support AAAA, but the official type is A6.
It is actually the other way around. AAAA is the official standard and A6 is deprecated for years. Stefan

Ron Korving

22 years ago
hmm, from http://www.dns.net/dnsrd/rfc/ i get the same idea, yet on other websites it is mentioned sometimes that A6 is the "new" AAAA.. .pretty weird.. if both are used in practice tho, i think PHP should parse them both, don't you think? Ron "Stefan Esser" <sesser@php.net> wrote in message news:4116334C.5060700@php.net...
> Hello all, > > Ron Korving wrote: > > I noticed the DNS record lookup functions (in the documentation) all
refer
> > to AAAA as an IPv6 type record. Actually, AAAA is obsolete now.. Of
course,
> > in PHP it would be very wise to support AAAA, but the official type is
A6.

Sara Golemon

22 years ago
> > It is actually the other way around. AAAA is the official standard and > > A6 is deprecated for years. > > > hmm, from http://www.dns.net/dnsrd/rfc/ i get the same idea, yet on other > websites it is mentioned sometimes that A6 is the "new" AAAA.. .pretty > weird.. > > if both are used in practice tho, i think PHP should parse them both,
don't
> you think? >
I saw one reference to preferred order of resolution being A => A6 => AAAA which implies that A6 has a higher order of preference than AAAA. Also, the DNS record type number for A6 is higher than AAAA, again indicating that AAAA preceeded A6 in adoption. In either event, as Ron states, there's no harm in covering 'em all. -Sara