~ubuntu-branches/ubuntu/trusty/libnet-dns-perl/trusty-proposed

« back to all changes in this revision

Viewing changes to lib/Net/DNS/Update.pm

  • Committer: Bazaar Package Importer
  • Author(s): Florian Hinzmann
  • Date: 2006-03-31 18:51:36 UTC
  • mfrom: (1.1.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060331185136-gpxyhfnnnt9f9b1n
Tags: 0.57-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
package Net::DNS::Update;
2
2
#
3
 
# $Id: Update.pm 388 2005-06-22 10:06:05Z olaf $
 
3
# $Id: Update.pm 517 2005-11-21 08:38:47Z olaf $
4
4
#
5
5
use strict;
6
6
BEGIN { 
11
11
use Net::DNS;
12
12
 
13
13
@ISA     = qw(Net::DNS::Packet);
14
 
$VERSION = (qw$LastChangedRevision: 388 $)[1];
 
14
$VERSION = (qw$LastChangedRevision: 517 $)[1];
15
15
 
16
16
=head1 NAME
17
17
 
128
128
 
129
129
    my $update = Net::DNS::Update->new('example.com');
130
130
    $update->push(pre    => nxdomain('info.example.com'));
131
 
    $update->push(update => rr_add('info.example.com TXT 'yabba dabba doo''));
 
131
    $update->push(update => rr_add('info.example.com TXT "yabba dabba doo"'));
132
132
 
133
133
=head2 Delete all A records for a name
134
134