{
    "mode": "perldoc",
    "parameter": "Net::DNS::RR::NSEC",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ADNS%3A%3ARR%3A%3ANSEC/json",
    "generated": "2026-06-13T11:22:37Z",
    "synopsis": "use Net::DNS;\n$rr = Net::DNS::RR->new( 'name NSEC nxtdname typelist' );",
    "sections": {
        "NAME": {
            "content": "Net::DNS::RR::NSEC - DNS NSEC resource record\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Net::DNS;\n$rr = Net::DNS::RR->new( 'name NSEC nxtdname typelist' );\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Class for DNSSEC NSEC resource records.\n",
            "subsections": []
        },
        "METHODS": {
            "content": "The available methods are those inherited from the base class augmented by the type-specific\nmethods defined in this package.\n\nUse of undocumented package features or direct access to internal data structures is discouraged\nand could result in program termination or other unpredictable behaviour.\n\nnxtdname\n$nxtdname = $rr->nxtdname;\n$rr->nxtdname( $nxtdname );\n\nThe Next Domain field contains the next owner name (in the canonical ordering of the zone) that\nhas authoritative data or contains a delegation point NS RRset.\n\ntypelist\n@typelist = $rr->typelist;\n$typelist = $rr->typelist;\n",
            "subsections": [
                {
                    "name": "typelist",
                    "content": "scalar context, the list is interpolated into a string.\n\ntypemap\n$exists = $rr->typemap($rrtype);\n"
                },
                {
                    "name": "typemap",
                    "content": "NSEC record.\n\nmatch\n$matched = $rr->match( 'example.foo' );\n"
                },
                {
                    "name": "match",
                    "content": "canonical owner name of the NSEC RR.\n\ncovers\n$covered = $rr->covers( 'example.foo' );\n"
                },
                {
                    "name": "covers",
                    "content": "ancestors, falls between the owner name and the nxtdname field of the NSEC record.\n\nencloser, nextcloser, wildcard\n$encloser = $rr->encloser( 'example.foo' );\nprint \"encloser: $encloser\\n\" if $encloser;\n"
                },
                {
                    "name": "encloser",
                    "content": "NSEC RR.\n"
                },
                {
                    "name": "nextcloser",
                    "content": "This is only valid after encloser() has returned a valid domain name.\n"
                },
                {
                    "name": "wildcard",
                    "content": "synthesised. This is only valid after encloser() has returned a valid domain name.\n"
                }
            ]
        },
        "COPYRIGHT": {
            "content": "Copyright (c)2001-2005 RIPE NCC. Author Olaf M. Kolkman\n\nPortions Copyright (c)2018-2019 Dick Franks\n\nAll rights reserved.\n\nPackage template (c)2009,2012 O.M.Kolkman and R.W.Franks.\n",
            "subsections": []
        },
        "LICENSE": {
            "content": "Permission to use, copy, modify, and distribute this software and its documentation for any\npurpose and without fee is hereby granted, provided that the original copyright notices appear\nin all copies and that both copyright notice and this permission notice appear in supporting\ndocumentation, and that the name of the author not be used in advertising or publicity\npertaining to distribution of the software without specific prior written permission.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING\nBUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\nDAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "perl, Net::DNS, Net::DNS::RR, RFC4034, RFC9077\n",
            "subsections": []
        }
    },
    "summary": "Net::DNS::RR::NSEC - DNS NSEC resource record",
    "flags": [],
    "examples": [],
    "see_also": []
}