FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=18532&edit=1

ID: 18532
Updated by: daniel.oconnor@gmail.com
Reported By: pear dot php dot net at spam dot ennes dot nl
Summary: Patch: Adding support for IPv6 hosts
Status: Open
Type: Feature/Change Request
Package: Net_DNS
Operating System: Ubuntu
Package Version: 1.0.7
PHP Version: 5.3.6
Roadmap Versions:
New Comment:

Hi Pieter, any chance of a small test case covering the new
functionality as well?


Previous Comments:
------------------------------------------------------------------------

[2011-05-12 23:19:06] skion

Added #patch bug:18532;patch:resolver-ipv6.diff;revision:1305242346;.

------------------------------------------------------------------------

[2011-05-12 23:17:52] skion

Description:
------------
The attached patch adds support for querying IPv6-enabled name servers.

------------------------------------------------------------------------

Search Discussions

  • Daniel Oconnor at May 12, 2011 at 10:59 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=18532&edit=1

    ID: 18532
    Updated by: daniel.oconnor@gmail.com
    Reported By: pear dot php dot net at spam dot ennes dot nl
    Summary: Patch: Adding support for IPv6 hosts
    -Status: Open
    +Status: Analyzed
    Type: Feature/Change Request
    Package: Net_DNS
    Operating System: Ubuntu
    Package Version: 1.0.7
    PHP Version: 5.3.6
    Roadmap Versions:
    New Comment:

    -Status: Open
    +Status: Analyzed



    Previous Comments:
    ------------------------------------------------------------------------

    [2011-05-12 23:59:34] doconnor

    Hi Pieter, any chance of a small test case covering the new
    functionality as well?

    ------------------------------------------------------------------------

    [2011-05-12 23:19:06] skion

    Added #patch bug:18532;patch:resolver-ipv6.diff;revision:1305242346;.

    ------------------------------------------------------------------------

    [2011-05-12 23:17:52] skion

    Description:
    ------------
    The attached patch adds support for querying IPv6-enabled name servers.

    ------------------------------------------------------------------------
  • Pear Php Net at May 12, 2011 at 11:37 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=18532&edit=1

    ID: 18532
    Updated by: pear.php.net@spam.ennes.nl
    Reported By: pear dot php dot net at spam dot ennes dot nl
    Summary: Patch: Adding support for IPv6 hosts
    Status: Analyzed
    Type: Feature/Change Request
    Package: Net_DNS
    Operating System: Ubuntu
    Package Version: 1.0.7
    PHP Version: 5.3.6
    Roadmap Versions:
    New Comment:

    Sorry, no time for a proper unit test, but something like this would do
    maybe?

    <?
    require_once('Net/DNS.php');

    $pear = new Net_DNS_Resolver();
    $pear->debug = true;

    // literal
    $pear->nameservers = array('2001:7b8:3:47:20d:b9ff:fe14:70d4');
    var_dump($pear->query("www.sixxs.net", 'A'));

    // ipv6 preferred
    $pear->nameservers = array('ns.paphosting.net');
    var_dump($pear->query("www.sixxs.net", 'A'));
    ?>


    Previous Comments:
    ------------------------------------------------------------------------

    [2011-05-12 23:59:45] doconnor

    -Status: Open
    +Status: Analyzed


    ------------------------------------------------------------------------

    [2011-05-12 23:59:34] doconnor

    Hi Pieter, any chance of a small test case covering the new
    functionality as well?

    ------------------------------------------------------------------------

    [2011-05-12 23:19:06] skion

    Added #patch bug:18532;patch:resolver-ipv6.diff;revision:1305242346;.

    ------------------------------------------------------------------------

    [2011-05-12 23:17:52] skion

    Description:
    ------------
    The attached patch adds support for querying IPv6-enabled name servers.

    ------------------------------------------------------------------------

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedMay 12, '11 at 10:59p
activeMay 12, '11 at 11:37p
posts3
users2
websitepear.php.net

2 users in discussion

Daniel Oconnor: 2 posts Pear Php Net: 1 post

People

Translate

site design / logo © 2022 Grokbase