{
    "mode": "perldoc",
    "parameter": "Net::DNS::RR::AMTRELAY",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ADNS%3A%3ARR%3A%3AAMTRELAY/json",
    "generated": "2026-07-05T15:58:17Z",
    "synopsis": "use Net::DNS;\n$rr = Net::DNS::RR->new('owner AMTRELAY precedence Dbit relaytype relay');",
    "sections": {
        "NAME": {
            "content": "Net::DNS::RR::AMTRELAY - DNS AMTRELAY resource record\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Net::DNS;\n$rr = Net::DNS::RR->new('owner AMTRELAY precedence Dbit relaytype relay');\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "AMTRELAY resource record designed to permit DNS Reverse IP AMT Discovery (DRIAD), a mechanism\nfor AMT gateways to discover AMT relays that are capable of forwarding multicast traffic from a\nknown source IP address.\n\nAMT (Automatic Multicast Tunneling) is defined in RFC7450 and provides a method to transport\nmulticast traffic over a unicast tunnel in order to traverse network segments that are not\nmulticast capable.\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\nprecedence\n$precedence = $rr->precedence;\n$rr->precedence( $precedence );\n\n8-bit integer which indicates relative precedence within the RRset. Relays listed in AMTRELAY\nrecords with lower precedence are to be attempted first.\n",
            "subsections": [
                {
                    "name": "Dbit, Discovery Optional",
                    "content": "$Dbit = $rr->Dbit;\n$rr->Dbit(1);\n\nBoolean field which indicates that the gateway MAY send an AMT Request message directly to the\ndiscovered relay address without first sending an AMT Discovery message.\n\nrelaytype\n$relaytype = $rr->relaytype;\n\nThe relaytype type field indicates the format of the information that is stored in the relay\nfield.\n\nThe following values are defined:\n\n0: The relay field is empty (0 bytes).\n\n1: The relay field contains a 4-octet IPv4 address.\n\n2: The relay field contains a 16-octet IPv6 address.\n\n3: The relay field contains a wire-encoded domain name.\n\nrelay\n$relay = $rr->relay;\n$rr->relay( $relay );\n\nThe relay field is the address or domain name of the AMT relay. It is formatted according to the\nrelaytype field.\n"
                }
            ]
        },
        "COPYRIGHT": {
            "content": "Copyright (c)2020 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, RFC8777, RFC7450\n",
            "subsections": []
        }
    },
    "summary": "Net::DNS::RR::AMTRELAY - DNS AMTRELAY resource record",
    "flags": [],
    "examples": [],
    "see_also": []
}