1Net::DNS::RR::SOA(3)  User Contributed Perl Documentation Net::DNS::RR::SOA(3)
2
3
4

NAME

6       Net::DNS::RR::SOA - DNS SOA resource record
7

SYNOPSIS

9           use Net::DNS;
10           $rr = new Net::DNS::RR('name SOA mname rname 0 86400 3600 604800 10800');
11

DESCRIPTION

13       Class for DNS Start of Authority (SOA) resource records.
14

METHODS

16       The available methods are those inherited from the base class augmented
17       by the type-specific methods defined in this package.
18
19       Use of undocumented package features or direct access to internal data
20       structures is discouraged and could result in program termination or
21       other unpredictable behaviour.
22
23   mname
24           $mname = $rr->mname;
25
26       The domain name of the name server that was the original or primary
27       source of data for this zone.
28
29   rname
30           $rname = $rr->rname;
31
32       The mailbox which identifies the person responsible for maintaining
33       this zone.
34
35   serial
36           $serial = $rr->serial;
37           $serial = $rr->serial(value);
38
39       Unsigned 32 bit version number of the original copy of the zone.  Zone
40       transfers preserve this value.
41
42       RFC1982 defines a strict (irreflexive) partial ordering for zone serial
43       numbers. The serial number will be incremented unless the replacement
44       value argument satisfies the ordering constraint.
45
46   refresh
47           $refresh = $rr->refresh;
48
49       A 32 bit time interval before the zone should be refreshed.
50
51   retry
52           $retry = $rr->retry;
53
54       A 32 bit time interval that should elapse before a failed refresh
55       should be retried.
56
57   expire
58           $expire = $rr->expire;
59
60       A 32 bit time value that specifies the upper limit on the time interval
61       that can elapse before the zone is no longer authoritative.
62
63   minimum
64           $minimum = $rr->minimum;
65
66       The unsigned 32 bit minimum TTL field that should be exported with any
67       RR from this zone.
68

Zone Serial Number Management

70       The internal logic of the serial() method offers support for several
71       widely used zone serial numbering policies.
72
73   Strictly Sequential
74           $successor = $soa->serial( SEQUENTIAL );
75
76       The existing serial number is incremented modulo 2**32 because the
77       value returned by the auxiliary SEQUENTIAL() function can never satisfy
78       the serial number ordering constraint.
79
80   Date Encoded
81           $successor = $soa->serial( YYYYMMDDxx );
82
83       The 32 bit value returned by the auxiliary YYYYMMDDxx() function will
84       be used if it satisfies the ordering constraint, otherwise the serial
85       number will be incremented as above.
86
87       Serial number increments must be limited to 100 per day for the date
88       information to remain useful.
89
90   Time Encoded
91           $successor = $soa->serial( UNIXTIME );
92
93       The 32 bit value returned by the auxiliary UNIXTIME() function will
94       used if it satisfies the ordering constraint, otherwise the existing
95       serial number will be incremented as above.
96
98       Copyright (c)1997-2002 Michael Fuhr.
99
100       Portions Copyright (c)2002-2004 Chris Reinhardt.
101
102       Portions Copyright (c)2010,2012 Dick Franks.
103
104       Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
105
106       All rights reserved.
107
108       This program is free software; you may redistribute it and/or modify it
109       under the same terms as Perl itself.
110

SEE ALSO

112       perl, Net::DNS, Net::DNS::RR, RFC1035 Section 3.3.13, RFC1982
113
114
115
116perl v5.16.3                      2012-12-28              Net::DNS::RR::SOA(3)
Impressum