1Net::DNS::RR::NS(3) User Contributed Perl Documentation Net::DNS::RR::NS(3)
2
3
4
6 Net::DNS::RR::NS - DNS NS resource record
7
9 use Net::DNS;
10 $rr = Net::DNS::RR->new('name NS nsdname');
11
12 $rr = Net::DNS::RR->new(
13 name => 'example.com',
14 type => 'NS',
15 nsdname => 'ns.example.com',
16 );
17
19 Class for DNS Name Server (NS) resource records.
20
22 The available methods are those inherited from the base class augmented
23 by the type-specific methods defined in this package.
24
25 Use of undocumented package features or direct access to internal data
26 structures is discouraged and could result in program termination or
27 other unpredictable behaviour.
28
29 nsdname
30 $nsdname = $rr->nsdname;
31 $rr->nsdname( $nsdname );
32
33 A domain name which specifies a host which should be authoritative for
34 the specified class and domain.
35
37 Copyright (c)1997 Michael Fuhr.
38
39 All rights reserved.
40
41 Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
42
44 Permission to use, copy, modify, and distribute this software and its
45 documentation for any purpose and without fee is hereby granted,
46 provided that the original copyright notices appear in all copies and
47 that both copyright notice and this permission notice appear in
48 supporting documentation, and that the name of the author not be used
49 in advertising or publicity pertaining to distribution of the software
50 without specific prior written permission.
51
52 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
53 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
54 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
55 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
56 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
57 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
58 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
59
61 perl Net::DNS Net::DNS::RR RFC1035(3.3.11)
62 <https://tools.ietf.org/html/rfc1035>
63
64
65
66perl v5.38.0 2023-07-21 Net::DNS::RR::NS(3)