{
    "mode": "perldoc",
    "parameter": "Net::DNS::RR::URI",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ADNS%3A%3ARR%3A%3AURI/json",
    "generated": "2026-07-05T13:37:43Z",
    "synopsis": "use Net::DNS;\n$rr = Net::DNS::RR->new('name URI priority weight target');",
    "sections": {
        "NAME": {
            "content": "Net::DNS::RR::URI - DNS URI resource record\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Net::DNS;\n$rr = Net::DNS::RR->new('name URI priority weight target');\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Class for DNS Service (URI) 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\npriority\n$priority = $rr->priority;\n$rr->priority( $priority );\n\nThe priority of the target URI in this RR. The range of this number is 0-65535. A client MUST\nattempt to contact the URI with the lowest-numbered priority it can reach; weighted selection\nbeing used to distribute load across targets with equal priority.\n\nweight\n$weight = $rr->weight;\n$rr->weight( $weight );\n\nA server selection mechanism. The weight field specifies a relative weight for entries with the\nsame priority. Larger weights SHOULD be given a proportionately higher probability of being\nselected. The range of this number is 0-65535.\n\ntarget\n$target = $rr->target;\n$rr->target( $target );\n\nThe URI of the target. Resolution of the URI is according to the definitions for the Scheme of\nthe URI.\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (c)2015 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, RFC7553\n",
            "subsections": []
        }
    },
    "summary": "Net::DNS::RR::URI - DNS URI resource record",
    "flags": [],
    "examples": [],
    "see_also": []
}