1Net::DNS::RR::CNAME(3)User Contributed Perl DocumentationNet::DNS::RR::CNAME(3)
2
3
4

NAME

6       Net::DNS::RR::CNAME - DNS CNAME resource record
7

SYNOPSIS

9           use Net::DNS;
10           $rr = new Net::DNS::RR('name CNAME cname');
11
12           $rr = new Net::DNS::RR(
13               name  => 'alias.example.com',
14               type  => 'CNAME',
15               cname => 'example.com',
16               );
17

DESCRIPTION

19       Class for DNS Canonical Name (CNAME) resource records.
20

METHODS

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   cname
30           $cname = $rr->cname;
31           $rr->cname( $cname );
32
33       A domain name which specifies the canonical or primary name for the
34       owner.  The owner name is an alias.
35
37       Copyright (c)1997 Michael Fuhr.
38
39       Portions Copyright (c)2002-2003 Chris Reinhardt.
40
41       All rights reserved.
42
43       Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
44

LICENSE

46       Permission to use, copy, modify, and distribute this software and its
47       documentation for any purpose and without fee is hereby granted,
48       provided that the above copyright notice appear in all copies and that
49       both that copyright notice and this permission notice appear in
50       supporting documentation, and that the name of the author not be used
51       in advertising or publicity pertaining to distribution of the software
52       without specific prior written permission.
53
54       THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
55       OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
56       MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
57       IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
58       CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
59       TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
60       SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
61

SEE ALSO

63       perl, Net::DNS, Net::DNS::RR, RFC1035 Section 3.3.1
64
65
66
67perl v5.30.1                      2020-01-30            Net::DNS::RR::CNAME(3)
Impressum