{
    "mode": "perldoc",
    "parameter": "Net::DNS::RR::NAPTR",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ADNS%3A%3ARR%3A%3ANAPTR/json",
    "generated": "2026-06-09T22:16:01Z",
    "synopsis": "use Net::DNS;\n$rr = Net::DNS::RR->new('name NAPTR order preference flags service regexp replacement');",
    "sections": {
        "NAME": {
            "content": "Net::DNS::RR::NAPTR - DNS NAPTR resource record\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Net::DNS;\n$rr = Net::DNS::RR->new('name NAPTR order preference flags service regexp replacement');\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "DNS Naming Authority Pointer (NAPTR) 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\norder\n$order = $rr->order;\n$rr->order( $order );\n\nA 16-bit unsigned integer specifying the order in which the NAPTR records must be processed to\nensure the correct ordering of rules. Low numbers are processed before high numbers.\n\npreference\n$preference = $rr->preference;\n$rr->preference( $preference );\n\nA 16-bit unsigned integer that specifies the order in which NAPTR records with equal \"order\"\nvalues should be processed, low numbers being processed before high numbers.\n\nflags\n$flags = $rr->flags;\n$rr->flags( $flags );\n\nA string containing flags to control aspects of the rewriting and interpretation of the fields\nin the record. Flags are single characters from the set [A-Z0-9].\n\nservice\n$service = $rr->service;\n$rr->service( $service );\n\nSpecifies the service(s) available down this rewrite path. It may also specify the protocol used\nto communicate with the service.\n\nregexp\n$regexp = $rr->regexp;\n$rr->regexp;\n\nA string containing a substitution expression that is applied to the original string held by the\nclient in order to construct the next domain name to lookup.\n\nreplacement\n$replacement = $rr->replacement;\n$rr->replacement( $replacement );\n\nThe next NAME to query for NAPTR, SRV, or address records depending on the value of the flags\nfield.\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (c)1997 Michael Fuhr.\n\nPortions Copyright (c)2005 Olaf Kolkman, NLnet Labs.\n\nBased on code contributed by Ryan Moats.\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, RFC2915, RFC2168, RFC3403\n",
            "subsections": []
        }
    },
    "summary": "Net::DNS::RR::NAPTR - DNS NAPTR resource record",
    "flags": [],
    "examples": [],
    "see_also": []
}