1Net::DNS::RR::NAPTR(3)User Contributed Perl DocumentationNet::DNS::RR::NAPTR(3)
2
3
4
6 Net::DNS::RR::NAPTR - DNS NAPTR resource record
7
9 use Net::DNS;
10 $rr = Net::DNS::RR->new('name NAPTR order preference flags service regexp replacement');
11
13 DNS Naming Authority Pointer (NAPTR) resource records.
14
16 The available methods are those inherited from the base class augmented
17 by the type-specific methods defined in this package.
18
19 Use of undocumented package features or direct access to internal data
20 structures is discouraged and could result in program termination or
21 other unpredictable behaviour.
22
23 order
24 $order = $rr->order;
25 $rr->order( $order );
26
27 A 16-bit unsigned integer specifying the order in which the NAPTR
28 records must be processed to ensure the correct ordering of rules. Low
29 numbers are processed before high numbers.
30
31 preference
32 $preference = $rr->preference;
33 $rr->preference( $preference );
34
35 A 16-bit unsigned integer that specifies the order in which NAPTR
36 records with equal "order" values should be processed, low numbers
37 being processed before high numbers.
38
39 flags
40 $flags = $rr->flags;
41 $rr->flags( $flags );
42
43 A string containing flags to control aspects of the rewriting and
44 interpretation of the fields in the record. Flags are single
45 characters from the set [A-Z0-9].
46
47 service
48 $service = $rr->service;
49 $rr->service( $service );
50
51 Specifies the service(s) available down this rewrite path. It may also
52 specify the protocol used to communicate with the service.
53
54 regexp
55 $regexp = $rr->regexp;
56 $rr->regexp;
57
58 A string containing a substitution expression that is applied to the
59 original string held by the client in order to construct the next
60 domain name to lookup.
61
62 replacement
63 $replacement = $rr->replacement;
64 $rr->replacement( $replacement );
65
66 The next NAME to query for NAPTR, SRV, or address records depending on
67 the value of the flags field.
68
70 Copyright (c)1997 Michael Fuhr.
71
72 Portions Copyright (c)2005 Olaf Kolkman, NLnet Labs.
73
74 Based on code contributed by Ryan Moats.
75
76 All rights reserved.
77
78 Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
79
81 Permission to use, copy, modify, and distribute this software and its
82 documentation for any purpose and without fee is hereby granted,
83 provided that the original copyright notices appear in all copies and
84 that both copyright notice and this permission notice appear in
85 supporting documentation, and that the name of the author not be used
86 in advertising or publicity pertaining to distribution of the software
87 without specific prior written permission.
88
89 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
90 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
91 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
92 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
93 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
94 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
95 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
96
98 perl Net::DNS Net::DNS::RR RFC3403
99 <https://tools.ietf.org/html/rfc3403>
100
101
102
103perl v5.38.0 2023-07-21 Net::DNS::RR::NAPTR(3)