Net::DNS::RR::SPF(3) User Contributed Perl Documentation Net::DNS::RR::SPF(3)NAME
Net::DNS::RR::SPF - DNS SPF resource record
SYNOPSIS
use Net::DNS;
$rr = new Net::DNS::RR('name SPF spfdata ...');
$rr = new Net::DNS::RR( name => 'name',
type => 'SPF',
spfdata => 'single text string'
);
$rr = new Net::DNS::RR( name => 'name',
type => 'SPF',
spfdata => [ 'multiple', 'strings', ... ]
);
DESCRIPTION
Class for DNS Sender Policy Framework (SPF) resource records.
SPF records inherit most of the properties of the Net::DNS::RR::TXT class.
METHODS
The available methods are those inherited from the base class augmented by the type-specific methods defined in this package.
Use of undocumented package features or direct access to internal data structures is discouraged and could result in program termination or
other unpredictable behaviour.
spfdata
$string = $rr->spfdata;
@list = $rr->spfdata;
$rr->spfdata( @list );
When invoked in scalar context, spfdata() returns the policy text as a single string, with text elements concatenated without intervening
spaces.
In a list context, spfdata() returns a list of the text elements.
COPYRIGHT
Copyright (c)2005 Olaf Kolkman, NLnet Labs.
All rights reserved.
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
SEE ALSO
perl, Net::DNS, Net::DNS::RR, Net::DNS::RR::TXT, RFC4408
perl v5.18.2 2014-01-16 Net::DNS::RR::SPF(3)
Check Out this Related Man Page
Net::DNS::RR::LP(3) User Contributed Perl Documentation Net::DNS::RR::LP(3)NAME
Net::DNS::RR::LP - DNS LP resource record
SYNOPSIS
use Net::DNS;
$rr = new Net::DNS::RR('name IN LP preference locator');
$rr = new Net::DNS::RR(
name => 'example.com',
type => 'LP',
preference => 10,
locator => 'locator.example.com'
);
DESCRIPTION
Class for DNS Locator Pointer (LP) resource records.
The LP DNS resource record (RR) is used to hold the name of a subnetwork for ILNP. The name is an FQDN which can then be used to look up
L32 or L64 records. LP is, effectively, a Locator Pointer to L32 and/or L64 records.
METHODS
The available methods are those inherited from the base class augmented by the type-specific methods defined in this package.
Use of undocumented package features or direct access to internal data structures is discouraged and could result in program termination or
other unpredictable behaviour.
preference
$preference = $rr->preference;
A 16 bit unsigned integer in network byte order that indicates the relative preference for this LP record among other LP records associated
with this owner name. Lower values are preferred over higher values.
locator
$locator = $rr->locator;
The Locator field contains the DNS target name that is used to reference L32 and/or L64 records.
COPYRIGHT
Copyright (c)2012 Dick Franks.
Package template (c)2009,2012 O.M.Kolkman and R.W.Franks.
All rights reserved.
This program is free software; you may redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
perl, Net::DNS, Net::DNS::RR, RFC6742
perl v5.18.2 2014-01-16 Net::DNS::RR::LP(3)
I have to put in an Forward from an ip adress to another in our
DNS , anyone know how to do that i pretty sure i have to put
in somewhere in the named files but where?
I tryed to put it in like an CNAME but it didn't work.
any suggestions?
/Nick (2 Replies)
I'm very new to all of this, so I apologize in advance if my post comes off incoherent, or terms aren't used correctly :rolleyes:
Using Fedora Core 2, I set up am internal DNS name server. After setting up the named.conf, and the localhost files I was able to correctly resolve my host name... (3 Replies)
I am new to bind, but I have it installed and working, well I think. I am not getting any errors, but my question is. Lets say I have movie.com, and mov.com, with the same in-addr-arpa zone(10.10.0.0) Is this a problem? movie.com is our main zone and we are trying to get rid of clients that are... (7 Replies)
It seems that mail from our servers are going through a third party security mail scanner (offsite),
due the the mx records specified on our internal and external DNS servers.
However, our internal user to user email does not go through the third party security mail scanner.
I discovered... (2 Replies)
I have to filter out data from a file based on the value of first three characters of each record I have used the following logic
FIN=$LOC/TEST2.TXT
FEEDFILE=$LOC/TEST1.TXT
while read FDROW
do
FEEDROW=$FDROW;
DTYPE=`echo $FEEDROW |cut -c 1-3`
if ; then
echo $FEEDROW >> $FIN... (5 Replies)
Does anybody know who I can set up SPR records? I've created a record and it says that I need to and
I logged into the server as the root users via ssh and typed in /var/named (which my host told me to do) but all it said was
I really need to add this because Microsoft is blocking emails... (11 Replies)
I'm trying to configure DNS on a AIX 5.4 machine and I just can't figure it out. The IBM guide doesn't work. Smit also doesn't work. I have no idea how to make this happen. (2 Replies)
Hi I have a Postfix mail server in a Debian Linux network and used to be able to connect to it on port 25 via telnet. I also have working DNS on the server.
I added this MX record to the DNS zone file:
@ IN MX 10 server.c4.sysinst.ida.liu.se.
It worked fine after that also but then... (3 Replies)
Dear members,
I am trying to set up a simple DNS but the problem is that when I ping the name of the IP address in the Reverse file, it does not recognise it. My code are as follows:
Note that my IP address is 172.22.45.237.
In my /etc/named.conf file, I have added the following lines
... (10 Replies)
Hi,
I am quite new to Perl scripting and i need to create a .TXT file using perl, with fields (A,B,C,D,E), and this text file should be named with current file creation date "XYZ_CCYYMMDD.TXT" (i.e.XYZ_2011042514:33 PM).
Can anyone who has done this, please share their expertise on this... (5 Replies)
Dear All,
I need to setup DNS just for the local network. So, I created a master zone with all the settings. I created A records and NS records. Applied new configurations and Stopped Bind9 and then restarted it. But when I enter the domain name in the browser of another client machine it... (9 Replies)
Hi, I want to check out a word in the text file and generate a clear report for me to see...
The text file content:
Content:
............
20120608:
20120608:
............
20120608:
..........
2012031201: , hime]
End of the file
My expected output is:
Full TXT:
manatsu
TXT:... (3 Replies)
Hello again guru’s (big apologies for wall of text)
Still working on that DNS updater for my production team and while there is a ton of hit in searches i can't seem to find the answer to this.
Context:
We have apps that switch from let’s say host1 to host2. REAL basic DNS clustering... (5 Replies)
Hi
Please can you help on this: the Net Admins decided to use DNS to resolve names, so this is preventing mail being delivered when using commands like date | mailx -s "test" abc.xyz@asdf.xx.yy.
What we were asked was to edit /etc/resolv.confand add 3 entries, in all servers (10 Replies)
I'd like to automate some common DNS checks that I do regularly. I do tech support, part of my job being to walk customers through setting up various DNS records, including SPF and DKIM. Most of these customers are small to medium sized businesses. The first part of the call is always me doing some... (6 Replies)