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

ID: 17002
Updated by: daniel.oconnor@gmail.com
Reported By: lbauer at epicetou dot fr
Summary: rr_del does not delete AAAA records if no address
given
Status: Open
Type: Bug
Package: Net_DNS
Operating System: Debian
Package Version: 1.0.1
PHP Version: 5.2.5
Roadmap Versions:
New Comment:

Can you re-add the test script in this ticket (short as you can make
it?)

The pastebin script is dead


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

[2010-01-16 15:50:02] lbauer

Description:
------------
There seems to be a bug similar to one reported in the perl Net::DNS
module (http://www.net-dns.org/docs/Changes.html) when trying to delete
any AAAA record from an name :
Fix rt.cpan.org #43770
Update->rr_del() was reported broken for AAAA after 0.65.
The same bug also occured in HINFO RR.
One can only delete a value-dependent AAAA record, not delete any
record with AAAA type.
The same test with A records does work fine (value-dependent or
value-independant rr_del)

Test script:
---------------
http://pastebin.com/m9f7d79a

Expected result:
----------------
Both following records should be deleted :
v6.testcli2.fr. 33200 IN AAAA 2001:660:3005:3::1:1
v6.testcli2.fr. 33200 IN AAAA 2001:660:3005:3::1:2

Actual result:
--------------
No AAAA records are deleted, and result is "FORMERR" :
["rcode"]=>
string(7) "FORMERR"

Works fine if I delete records one at a time (see commented line above)

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

Search Discussions

  • Daniel Oconnor at Feb 21, 2010 at 10:45 pm
    Edit report at http://pear.php.net/bugs/bug.php?id=17002&edit=1

    ID: 17002
    Updated by: daniel.oconnor@gmail.com
    Reported By: lbauer at epicetou dot fr
    Summary: rr_del does not delete AAAA records if no address
    given
    -Status: Open
    +Status: Feedback
    Type: Bug
    Package: Net_DNS
    Operating System: Debian
    Package Version: 1.0.1
    PHP Version: 5.2.5
    Roadmap Versions:
    New Comment:

    -Status: Open
    +Status: Feedback
    We are unable to reproduce the bug as reported.
    Please provide a simple script (10 lines or less)
    or a link to an external script that can be used
    to reproduce the bug.

    If you can provide the script, feel free to add it
    to this bug and change the status back to "Open".

    Thank you for your interest in PEAR.





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

    [2010-02-21 22:41:56] doconnor

    Can you re-add the test script in this ticket (short as you can make
    it?)

    The pastebin script is dead

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

    [2010-01-16 15:50:02] lbauer

    Description:
    ------------
    There seems to be a bug similar to one reported in the perl Net::DNS
    module (http://www.net-dns.org/docs/Changes.html) when trying to delete
    any AAAA record from an name :
    Fix rt.cpan.org #43770
    Update->rr_del() was reported broken for AAAA after 0.65.
    The same bug also occured in HINFO RR.
    One can only delete a value-dependent AAAA record, not delete any
    record with AAAA type.
    The same test with A records does work fine (value-dependent or
    value-independant rr_del)

    Test script:
    ---------------
    http://pastebin.com/m9f7d79a

    Expected result:
    ----------------
    Both following records should be deleted :
    v6.testcli2.fr. 33200 IN AAAA 2001:660:3005:3::1:1
    v6.testcli2.fr. 33200 IN AAAA 2001:660:3005:3::1:2

    Actual result:
    --------------
    No AAAA records are deleted, and result is "FORMERR" :
    ["rcode"]=>
    string(7) "FORMERR"

    Works fine if I delete records one at a time (see commented line above)

    ------------------------------------------------------------------------
  • Lbauer at Feb 22, 2010 at 8:46 am
    Edit report at http://pear.php.net/bugs/bug.php?id=17002&edit=1

    ID: 17002
    Updated by: lbauer@epicetou.fr
    Reported By: lbauer at epicetou dot fr
    Summary: rr_del does not delete AAAA records if no address
    given
    Status: Feedback
    Type: Bug
    Package: Net_DNS
    Operating System: Debian
    Package Version: 1.0.1
    PHP Version: 5.2.5
    Roadmap Versions:
    New Comment:

    Here is the new pastebin script (previous one was deleted) :
    http://pastebin.com/f5281685b


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

    [2010-02-21 22:42:06] doconnor

    -Status: Open
    +Status: Feedback
    We are unable to reproduce the bug as reported.
    Please provide a simple script (10 lines or less)
    or a link to an external script that can be used
    to reproduce the bug.

    If you can provide the script, feel free to add it
    to this bug and change the status back to "Open".

    Thank you for your interest in PEAR.

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

    [2010-02-21 22:41:56] doconnor

    Can you re-add the test script in this ticket (short as you can make
    it?)

    The pastebin script is dead

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

    [2010-01-16 15:50:02] lbauer

    Description:
    ------------
    There seems to be a bug similar to one reported in the perl Net::DNS
    module (http://www.net-dns.org/docs/Changes.html) when trying to delete
    any AAAA record from an name :
    Fix rt.cpan.org #43770
    Update->rr_del() was reported broken for AAAA after 0.65.
    The same bug also occured in HINFO RR.
    One can only delete a value-dependent AAAA record, not delete any
    record with AAAA type.
    The same test with A records does work fine (value-dependent or
    value-independant rr_del)

    Test script:
    ---------------
    http://pastebin.com/m9f7d79a

    Expected result:
    ----------------
    Both following records should be deleted :
    v6.testcli2.fr. 33200 IN AAAA 2001:660:3005:3::1:1
    v6.testcli2.fr. 33200 IN AAAA 2001:660:3005:3::1:2

    Actual result:
    --------------
    No AAAA records are deleted, and result is "FORMERR" :
    ["rcode"]=>
    string(7) "FORMERR"

    Works fine if I delete records one at a time (see commented line above)

    ------------------------------------------------------------------------
  • Lbauer at Feb 22, 2010 at 8:47 am
    Edit report at http://pear.php.net/bugs/bug.php?id=17002&edit=1

    ID: 17002
    Updated by: lbauer@epicetou.fr
    Reported By: lbauer at epicetou dot fr
    Summary: rr_del does not delete AAAA records if no address
    given
    -Status: Feedback
    +Status: Open
    Type: Bug
    Package: Net_DNS
    Operating System: Debian
    Package Version: 1.0.1
    PHP Version: 5.2.5
    Roadmap Versions:
    New Comment:

    -Status: Feedback
    +Status: Open



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

    [2010-02-22 08:43:42] lbauer

    Here is the new pastebin script (previous one was deleted) :
    http://pastebin.com/f5281685b

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

    [2010-02-21 22:42:06] doconnor

    -Status: Open
    +Status: Feedback
    We are unable to reproduce the bug as reported.
    Please provide a simple script (10 lines or less)
    or a link to an external script that can be used
    to reproduce the bug.

    If you can provide the script, feel free to add it
    to this bug and change the status back to "Open".

    Thank you for your interest in PEAR.

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

    [2010-02-21 22:41:56] doconnor

    Can you re-add the test script in this ticket (short as you can make
    it?)

    The pastebin script is dead

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

    [2010-01-16 15:50:02] lbauer

    Description:
    ------------
    There seems to be a bug similar to one reported in the perl Net::DNS
    module (http://www.net-dns.org/docs/Changes.html) when trying to delete
    any AAAA record from an name :
    Fix rt.cpan.org #43770
    Update->rr_del() was reported broken for AAAA after 0.65.
    The same bug also occured in HINFO RR.
    One can only delete a value-dependent AAAA record, not delete any
    record with AAAA type.
    The same test with A records does work fine (value-dependent or
    value-independant rr_del)

    Test script:
    ---------------
    http://pastebin.com/m9f7d79a

    Expected result:
    ----------------
    Both following records should be deleted :
    v6.testcli2.fr. 33200 IN AAAA 2001:660:3005:3::1:1
    v6.testcli2.fr. 33200 IN AAAA 2001:660:3005:3::1:2

    Actual result:
    --------------
    No AAAA records are deleted, and result is "FORMERR" :
    ["rcode"]=>
    string(7) "FORMERR"

    Works fine if I delete records one at a time (see commented line above)

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

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedFeb 21, '10 at 10:45p
activeFeb 22, '10 at 8:47a
posts4
users2
websitepear.php.net

2 users in discussion

Daniel Oconnor: 2 posts Lbauer: 2 posts

People

Translate

site design / logo © 2022 Grokbase