1Net::DNS::RR::SPF(3)  User Contributed Perl Documentation Net::DNS::RR::SPF(3)
2
3
4

NAME

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

SYNOPSIS

9           use Net::DNS;
10           $rr = Net::DNS::RR->new('name SPF spfdata ...');
11
12           $rr = Net::DNS::RR->new( name    => 'name',
13                                   type    => 'SPF',
14                                   spfdata => 'single text string'
15                                   );
16
17           $rr = Net::DNS::RR->new( name    => 'name',
18                                   type    => 'SPF',
19                                   spfdata => [ 'multiple', 'strings', ... ]
20                                   );
21

DESCRIPTION

23       Class for DNS Sender Policy Framework (SPF) resource records.
24
25       SPF records inherit most of the properties of the Net::DNS::RR::TXT
26       class.
27

METHODS

29       The available methods are those inherited from the base class augmented
30       by the type-specific methods defined in this package.
31
32       Use of undocumented package features or direct access to internal data
33       structures is discouraged and could result in program termination or
34       other unpredictable behaviour.
35
36   spfdata
37   txtdata
38           $string = $rr->spfdata;
39           @list   = $rr->spfdata;
40
41           $rr->spfdata( @list );
42
43       When invoked in scalar context, spfdata() returns the policy text as a
44       single string, with text elements concatenated without intervening
45       spaces.
46
47       In a list context, spfdata() returns a list of the text elements.
48
50       Copyright (c)2005 Olaf Kolkman, NLnet Labs.
51
52       All rights reserved.
53
54       Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
55

LICENSE

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

SEE ALSO

74       perl, Net::DNS, Net::DNS::RR, Net::DNS::RR::TXT, RFC7208
75
76
77
78perl v5.34.0                      2021-07-22              Net::DNS::RR::SPF(3)
Impressum