{
    "mode": "perldoc",
    "parameter": "Net::DNS::RR::NID",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ADNS%3A%3ARR%3A%3ANID/json",
    "generated": "2026-06-14T07:30:59Z",
    "synopsis": "use Net::DNS;\n$rr = Net::DNS::RR->new('name IN NID preference nodeid');\n$rr = Net::DNS::RR->new(\nname       => 'example.com',\ntype       => 'NID',\npreference => 10,\nnodeid     => '8:800:200C:417A'\n);",
    "sections": {
        "NAME": {
            "content": "Net::DNS::RR::NID - DNS NID resource record\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Net::DNS;\n$rr = Net::DNS::RR->new('name IN NID preference nodeid');\n\n$rr = Net::DNS::RR->new(\nname       => 'example.com',\ntype       => 'NID',\npreference => 10,\nnodeid     => '8:800:200C:417A'\n);\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Class for DNS Node Identifier (NID) resource records.\n\nThe Node Identifier (NID) DNS resource record is used to hold values for Node Identifiers that\nwill be used for ILNP-capable nodes.\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\npreference\n$preference = $rr->preference;\n$rr->preference( $preference );\n\nA 16 bit unsigned integer in network byte order that indicates the relative preference for this\nNID record among other NID records associated with this owner name. Lower values are preferred\nover higher values.\n\nnodeid\n$nodeid = $rr->nodeid;\n\nThe NodeID field is an unsigned 64-bit value in network byte order. The text representation uses\nthe same syntax (i.e., groups of 4 hexadecimal digits separated by a colons) that is already\nused for IPv6 interface identifiers.\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (c)2012 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, RFC6742\n",
            "subsections": []
        }
    },
    "summary": "Net::DNS::RR::NID - DNS NID resource record",
    "flags": [],
    "examples": [],
    "see_also": []
}