GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Net::DNS::ToolKit::Debug(3) User Contributed Perl Documentation Net::DNS::ToolKit::Debug(3)

Net::DNS::ToolKit::Debug - ToolKit print tools

  use Net::DNS::ToolKit::Debug qw(
        print_head
        print_buf
  );

  STDOUT <= print_head(\$buffer);
  STDOUT <= print_buf(\$buffer,$from,$to);

Functions to print/examine DNS buffers.
  • STDOUT <= print_head(\$buffer);

    Print a formated text description of the header.

      input:        pointer to buffer
    
      output:       to STDOUT
    
      ID      => 1234    
      QR      => 1  
      OPCODE  => QUERY
      AA      => 0 
      TC      => 0
      RD      => 1   
      RA      => 0
      Z       => 0
      AD      => 0
      CD      => 0
      RCODE   => NOERROR
      QDCOUNT => 1
      ANCOUNT => 5
      NSCOUNT => 2
      ARCOUNT => 3
        
  • STDOUT <= print_buf(\$buffer,$from,$to);

    Print a formated description of the $buffer contents.

      input:        $from [start],
                    $to   [end],
    
      output:       to STDOUT
    
      If $from is missing, begin at $buffer start.
      If $to is missing, end at $buffer end.
    
      Prints nothing if $from > $to.
        

        Net::DNS::ToolKit

        print_head
        print_buf

Michael Robinton <michael@bizsystems.com>

    Copyright 2003 - 2011, Michael Robinton <michael@bizsystems.com>

Michael Robinton <michael@bizsystems.com>

All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of either:

  a) the GNU General Public License as published by the Free
  Software Foundation; either version 2, or (at your option) any
  later version, or

  b) the "Artistic License" which comes with this distribution.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See either the GNU General Public License or the Artistic License for more details.

You should have received a copy of the Artistic License with this distribution, in the file named "Artistic". If not, I'll be glad to provide one.

You should also have received a copy of the GNU General Public License along with this program in the file named "Copying". If not, write to the

        Free Software Foundation, Inc.                        
        59 Temple Place, Suite 330
        Boston, MA  02111-1307, USA

or visit their web page on the internet at:

        http://www.gnu.org/copyleft/gpl.html.

Net::DNS::Codes(3), Net::DNS::ToolKit(3)
2011-11-05 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.