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

NAME

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

SYNOPSIS

9           use Net::DNS;
10           $rr = Net::DNS::RR->new( 'name NSEC nxtdname typelist' );
11

DESCRIPTION

13       Class for DNSSEC NSEC 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   nxtdname
24           $nxtdname = $rr->nxtdname;
25           $rr->nxtdname( $nxtdname );
26
27       The Next Domain field contains the next owner name (in the canonical
28       ordering of the zone) that has authoritative data or contains a
29       delegation point NS RRset.
30
31   typelist
32           @typelist = $rr->typelist;
33           $typelist = $rr->typelist;
34
35       typelist() identifies the RRset types that exist at the NSEC RR owner
36       name.  When called in scalar context, the list is interpolated into a
37       string.
38
39   typemap
40           $exists = $rr->typemap($rrtype);
41
42       typemap() returns a Boolean true value if the specified RRtype occurs
43       in the type bitmap of the NSEC record.
44
45   match
46           $matched = $rr->match( 'example.foo' );
47
48       match() returns a Boolean true value if the canonical form of the name
49       argument matches the canonical owner name of the NSEC RR.
50
51   covers
52           $covered = $rr->covers( 'example.foo' );
53
54       covers() returns a Boolean true value if the canonical form of the
55       name, or one of its ancestors, falls between the owner name and the
56       nxtdname field of the NSEC record.
57
58   encloser, nextcloser, wildcard
59           $encloser = $rr->encloser( 'example.foo' );
60           print "encloser: $encloser\n" if $encloser;
61
62       encloser() returns the name of a provable encloser of the query name
63       argument obtained from the NSEC RR.
64
65       nextcloser() returns the next closer name, which is one label longer
66       than the closest encloser.  This is only valid after encloser() has
67       returned a valid domain name.
68
69       wildcard() returns the unexpanded wildcard name from which the next
70       closer name was possibly synthesised.  This is only valid after
71       encloser() has returned a valid domain name.
72
74       Copyright (c)2001-2005 RIPE NCC.  Author Olaf M. Kolkman
75
76       Portions Copyright (c)2018-2019 Dick Franks
77
78       All rights reserved.
79
80       Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
81

LICENSE

83       Permission to use, copy, modify, and distribute this software and its
84       documentation for any purpose and without fee is hereby granted,
85       provided that the original copyright notices appear in all copies and
86       that both copyright notice and this permission notice appear in
87       supporting documentation, and that the name of the author not be used
88       in advertising or publicity pertaining to distribution of the software
89       without specific prior written permission.
90
91       THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
92       OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
93       MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
94       IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
95       CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
96       TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
97       SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
98

SEE ALSO

100       perl Net::DNS Net::DNS::RR RFC4034
101       <https://tools.ietf.org/html/rfc4034> RFC9077
102       <https://tools.ietf.org/html/rfc9077>
103
104
105
106perl v5.36.1                      2023-06-01             Net::DNS::RR::NSEC(3)
Impressum