.\" Automatically generated by Pod::Man 4.14 (Pod::Simple 3.42)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" Set up some character translations and predefined strings.  \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote.  \*(C+ will
.\" give a nicer C++.  Capital omega is used to do unbreakable dashes and
.\" therefore won't be available.  \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
.    ds -- \(*W-
.    ds PI pi
.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
.    ds L" ""
.    ds R" ""
.    ds C` ""
.    ds C' ""
'br\}
.el\{\
.    ds -- \|\(em\|
.    ds PI \(*p
.    ds L" ``
.    ds R" ''
.    ds C`
.    ds C'
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\"
.\" If the F register is >0, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD.  Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.\"
.\" Avoid warning from groff about undefined register 'F'.
.de IX
..
.nr rF 0
.if \n(.g .if rF .nr rF 1
.if (\n(rF:(\n(.g==0)) \{\
.    if \nF \{\
.        de IX
.        tm Index:\\$1\t\\n%\t"\\$2"
..
.        if !\nF==2 \{\
.            nr % 0
.            nr F 2
.        \}
.    \}
.\}
.rr rF
.\" ========================================================================
.\"
.IX Title "Net::DNS::RR::AMTRELAY 3"
.TH Net::DNS::RR::AMTRELAY 3 "2022-10-19" "perl v5.32.1" "User Contributed Perl Documentation"
.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
Net::DNS::RR::AMTRELAY \- DNS AMTRELAY resource record
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
.Vb 2
\&    use Net::DNS;
\&    $rr = Net::DNS::RR\->new(\*(Aqowner AMTRELAY precedence D relaytype relay\*(Aq);
.Ve
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
\&\s-1AMTRELAY\s0 resource record designed to permit \s-1DNS\s0 Reverse \s-1IP AMT\s0 Discovery
(\s-1DRIAD\s0), a mechanism for \s-1AMT\s0 gateways to discover \s-1AMT\s0 relays that are
capable of forwarding multicast traffic from a known source \s-1IP\s0 address.
.PP
\&\s-1AMT\s0 (Automatic Multicast Tunneling) is defined in \s-1RFC7450\s0 and provides a
method to transport multicast traffic over a unicast tunnel in order to
traverse network segments that are not multicast capable.
.SH "METHODS"
.IX Header "METHODS"
The available methods are those inherited from the base class augmented
by the type-specific methods defined in this package.
.PP
Use of undocumented package features or direct access to internal data
structures is discouraged and could result in program termination or
other unpredictable behaviour.
.SS "precedence"
.IX Subsection "precedence"
.Vb 2
\&    $precedence = $rr\->precedence;
\&    $rr\->precedence( $precedence );
.Ve
.PP
8\-bit integer which indicates relative precedence within the RRset.
Relays listed in \s-1AMTRELAY\s0 records with lower precedence are to be
attempted first.
.SS "D, Discovery Optional"
.IX Subsection "D, Discovery Optional"
.Vb 2
\&    $D = $rr\->D;
\&    $rr\->D(1);
.Ve
.PP
Boolean field which indicates that the gateway \s-1MAY\s0 send an \s-1AMT\s0 Request
message directly to the discovered relay address without first sending
an \s-1AMT\s0 Discovery message.
.SS "relaytype"
.IX Subsection "relaytype"
.Vb 1
\&    $relaytype = $rr\->relaytype;
.Ve
.PP
The relaytype type field indicates the format of the information that is
stored in the relay field.
.PP
The following values are defined:
.Sp
.RS 4
0: The relay field is empty (0 bytes).
.Sp
1: The relay field contains a 4\-octet IPv4 address.
.Sp
2: The relay field contains a 16\-octet IPv6 address.
.Sp
3: The relay field contains a wire-encoded domain name.
.RE
.SS "relay"
.IX Subsection "relay"
.Vb 2
\&    $relay = $rr\->relay;
\&    $rr\->relay( $relay );
.Ve
.PP
The relay field is the address or domain name of the \s-1AMT\s0 relay.
It is formatted according to the relaytype field.
.SH "COPYRIGHT"
.IX Header "COPYRIGHT"
Copyright (c)2020 Dick Franks.
.PP
All rights reserved.
.PP
Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
.SH "LICENSE"
.IX Header "LICENSE"
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted, provided
that the above copyright notice appear in all copies and that both that
copyright notice and this permission notice appear in supporting
documentation, and that the name of the author not be used in advertising
or publicity pertaining to distribution of the software without specific
prior written permission.
.PP
\&\s-1THE SOFTWARE IS PROVIDED \*(L"AS IS\*(R", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.\s0
.SH "SEE ALSO"
.IX Header "SEE ALSO"
perl, Net::DNS, Net::DNS::RR, \s-1RFC8777, RFC7450\s0
