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 14400 3600 1814400 3600');
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           $rr->mname( $mname );
26
27       The domain name of the name server that was the original or primary
28       source of data for this zone.
29
30   rname
31           $rname = $rr->rname;
32           $rr->rname( $rname );
33
34       The mailbox which identifies the person responsible for maintaining
35       this zone.
36
37   serial
38           $serial = $rr->serial;
39           $serial = $rr->serial(value);
40
41       Unsigned 32 bit version number of the original copy of the zone.  Zone
42       transfers preserve this value.
43
44       RFC1982 defines a strict (irreflexive) partial ordering for zone serial
45       numbers. The serial number will be incremented unless the replacement
46       value argument satisfies the ordering constraint.
47
48   refresh
49           $refresh = $rr->refresh;
50           $rr->refresh( $refresh );
51
52       A 32 bit time interval before the zone should be refreshed.
53
54   retry
55           $retry = $rr->retry;
56           $rr->retry( $retry );
57
58       A 32 bit time interval that should elapse before a failed refresh
59       should be retried.
60
61   expire
62           $expire = $rr->expire;
63           $rr->expire( $expire );
64
65       A 32 bit time value that specifies the upper limit on the time interval
66       that can elapse before the zone is no longer authoritative.
67
68   minimum
69           $minimum = $rr->minimum;
70           $rr->minimum( $minimum );
71
72       The unsigned 32 bit minimum TTL field that should be exported with any
73       RR from this zone.
74

Zone Serial Number Management

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

LICENSE

115       Permission to use, copy, modify, and distribute this software and its
116       documentation for any purpose and without fee is hereby granted,
117       provided that the above copyright notice appear in all copies and that
118       both that copyright notice and this permission notice appear in
119       supporting documentation, and that the name of the author not be used
120       in advertising or publicity pertaining to distribution of the software
121       without specific prior written permission.
122
123       THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
124       OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
125       MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
126       IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
127       CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
128       TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
129       SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
130

SEE ALSO

132       perl, Net::DNS, Net::DNS::RR, RFC1035 Section 3.3.13, RFC1982
133
134
135
136perl v5.26.3                      2018-02-09              Net::DNS::RR::SOA(3)
Impressum