home *** CD-ROM | disk | FTP | other *** search
- package Net::DNS::RR::NULL;
- #
- # $Id: NULL.pm,v 2.100 2003/12/13 01:37:05 ctriv Exp $
- #
- use strict;
- use vars qw(@ISA $VERSION);
-
- use Net::DNS::Packet;
-
- @ISA = qw(Net::DNS::RR);
- $VERSION = (qw$Revision: 2.100 $)[1];
-
- sub new {
- my ($class, $self, $data, $offset) = @_;
- return bless $self, $class;
- }
-
- 1;
- __END__
-
- =head1 NAME
-
- Net::DNS::RR::NULL - DNS NULL resource record
-
- =head1 SYNOPSIS
-
- C<use Net::DNS::RR>;
-
- =head1 DESCRIPTION
-
- Class for DNS Null (NULL) resource records.
-
- =head1 METHODS
-
- =head2 rdlength
-
- print "rdlength = ", $rr->rdlength, "\n";
-
- Returns the length of the record's data section.
-
- =head2 rdata
-
- $rdata = $rr->rdata;
-
- Returns the record's data section as binary data.
-
- =head1 COPYRIGHT
-
- Copyright (c) 1997-2002 Michael Fuhr.
-
- Portions Copyright (c) 2002-2003 Chris Reinhardt.
-
- All rights reserved. This program is free software; you may redistribute
- it and/or modify it under the same terms as Perl itself.
-
- =head1 SEE ALSO
-
- L<perl(1)>, L<Net::DNS>, L<Net::DNS::Resolver>, L<Net::DNS::Packet>,
- L<Net::DNS::Header>, L<Net::DNS::Question>, L<Net::DNS::RR>,
- RFC 1035 Section 3.3.10
-
- =cut
-