1Net::DNS::RR::NSEC3(3)User Contributed Perl DocumentationNet::DNS::RR::NSEC3(3)
2
3
4

NAME

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

SYNOPSIS

9           use Net::DNS;
10           $rr = new Net::DNS::RR('name NSEC3 algorithm flags iterations salt hnxtname');
11

DESCRIPTION

13       Class for DNSSEC NSEC3 resource records.
14
15       The NSEC3 Resource Record (RR) provides authenticated denial of
16       existence for DNS Resource Record Sets.
17
18       The NSEC3 RR lists RR types present at the original owner name of the
19       NSEC3 RR.  It includes the next hashed owner name in the hash order of
20       the zone.  The complete set of NSEC3 RRs in a zone indicates which
21       RRSets exist for the original owner name of the RR and form a chain of
22       hashed owner names in the zone.
23

METHODS

25       The available methods are those inherited from the base class augmented
26       by the type-specific methods defined in this package.
27
28       Use of undocumented package features or direct access to internal data
29       structures is discouraged and could result in program termination or
30       other unpredictable behaviour.
31
32   algorithm
33           $algorithm = $rr->algorithm;
34           $rr->algorithm( $algorithm );
35
36       The Hash Algorithm field is represented as an unsigned decimal integer.
37       The value has a maximum of 255.
38
39       algorithm() may also be invoked as a class method or simple function to
40       perform mnemonic and numeric code translation.
41
42   flags
43           $flags = $rr->flags;
44           $rr->flags( $flags );
45
46       The Flags field is an unsigned decimal integer interpreted as eight
47       concatenated Boolean values.
48
49       optout
50            $rr->optout(1);
51
52            if ( $rr->optout ) {
53                   ...
54            }
55
56           Boolean Opt Out flag.
57
58   iterations
59           $iterations = $rr->iterations;
60           $rr->iterations( $iterations );
61
62       The Iterations field is represented as an unsigned decimal integer.
63       The value is between 0 and 65535, inclusive.
64
65   salt
66           $salt = $rr->salt;
67           $rr->salt( $salt );
68
69       The Salt field is represented as a contiguous sequence of hexadecimal
70       digits. A "-" (unquoted) is used in string format to indicate that the
71       salt field is absent.
72
73   saltbin
74           $saltbin = $rr->saltbin;
75           $rr->saltbin( $saltbin );
76
77       The Salt field as a sequence of octets.
78
79   hnxtname
80           $hnxtname = $rr->hnxtname;
81           $rr->hnxtname( $hnxtname );
82
83       The Next Hashed Owner Name field points to the next node that has
84       authoritative data or contains a delegation point NS RRset.
85
86   typelist
87           @typelist = $rr->typelist;
88           $typelist = $rr->typelist;
89           $rr->typelist( @typelist );
90
91       typelist() identifies the RRset types that exist at the domain name
92       matched by the NSEC3 RR.  When called in scalar context, the list is
93       interpolated into a string.
94
95   typemap
96           $exists = $rr->typemap($rrtype);
97
98       typemap() returns a Boolean true value if the specified RRtype occurs
99       in the type bitmap of the NSEC3 record.
100
101   covers
102           $covered = $rr->covers( 'example.foo' );
103
104       covers() returns a Boolean true value if the hash of the domain name
105       argument, or ancestor of that name, falls between the owner name and
106       the next hashed owner name of the NSEC3 RR.
107
108   encloser, nextcloser, wildcard
109           $encloser = $rr->encloser( 'example.foo' );
110           print "encloser: $encloser\n" if $encloser;
111
112       encloser() returns the name of a provable encloser of the query name
113       argument obtained from the NSEC3 RR.
114
115       nextcloser() returns the next closer name, which is one label longer
116       than the closest encloser.  This is only valid after encloser() has
117       returned a valid domain name.
118
119       wildcard() returns the unexpanded wildcard name from which the next
120       closer name was possibly synthesised.  This is only valid after
121       encloser() has returned a valid domain name.
122
124       Copyright (c)2017,2018 Dick Franks
125
126       Portions Copyright (c)2007,2008 NLnet Labs.  Author Olaf M. Kolkman
127
128       All rights reserved.
129
130       Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
131

LICENSE

133       Permission to use, copy, modify, and distribute this software and its
134       documentation for any purpose and without fee is hereby granted,
135       provided that the above copyright notice appear in all copies and that
136       both that copyright notice and this permission notice appear in
137       supporting documentation, and that the name of the author not be used
138       in advertising or publicity pertaining to distribution of the software
139       without specific prior written permission.
140
141       THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
142       OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
143       MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
144       IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
145       CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
146       TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
147       SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
148

SEE ALSO

150       perl, Net::DNS, Net::DNS::RR, RFC5155, RFC4648
151
152       Hash Algorithms <http://www.iana.org/assignments/dnssec-
153       nsec3-parameters>
154
155
156
157perl v5.30.0                      2019-07-26            Net::DNS::RR::NSEC3(3)
Impressum