D/N/A project
A new way of using
Domain Name Service

Documents :: API

RNA::DNS::Surgery


NAME

RNA::DNS::Surgery


DESCRIPTION

This module is part of the RNA Server Project. RNA is an acronym for Domain Name Anarchy. For further informations take a look at RNA man page.

This module is used for completion of partial data containing in a packet. After each packet is being prepared, the answer is passed to an instance of this class, which scans for the packet correctness and try to resolve missing fields.


API

RNA::DNS::Surgery-new()

Return a new instance of RNA::DNS::Surgery class.

$surgery->sew($pkt, $blocking)

This method performs completion of a packet, which is passed as first argument. Packet $pkt can be eighter a RNA::DNS::Packet object or a raw DNS packet.

$blocking is a boolean attribute. Normally, $surgery->sew() method will perform each recursive request ignoring exit codes. If $blocking is true and an error occurs, error code is immediately returned and sewing is aborted.


AUTHOR

Tx0


SEE ALSO

RNA, RNA::Internals, RNA::Interface, rnad(8)

This page last modified: Wednesday, 09-Jan-2008 16:25:01 CET
© 2007-2008 Tx0 - Some right reserved
This work is released under Creative Commons License
hosted by gna!
Valid HTML 4.01 Transitional
Valid CSS!