In BIND 9.3 DNS trying to get past the 256 char limit in SPF TXT records


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers In BIND 9.3 DNS trying to get past the 256 char limit in SPF TXT records
# 1  
Old 06-16-2009
Power In BIND 9.3 DNS trying to get past the 256 char limit in SPF TXT records

One way I was told to do was incase strings in quotes.
But I was given this option if I can get it to work.
Will this work for splitting up SPF records?
I am try to make bx.example.com reference spf.eu.***, spfa.eu.***, spfb.eu.***, and spfc.eu.***.

spf.eu.example.com 3600 IN TXT "v=spf1 include:spfa.eu.example.com include:spfb.eu.example.com include:spfc.eu.example.com -all"
spfa.eu.example.com 3600 IN TXT "v=spf1 ip4:195.33.111.96/28 a:smtp.example.com -all"
spfb.eu.example.com 3600 IN TXT "v=spf1 a:mail.example.de a:igngate.example.de a:inetgate.example.de -all"
spfc.eu.example.com 3600 IN TXT "v=spf1 aImagerodmail4a.example.com aImagerodmail4b.example.com include:spf.example.com ip4:170.224.103.111 ip4:170.2
24.103.111 -all"

bx.example.com 3600 IN TXT "v=spf1 include:spf.eu.example.com -all"

I am trying to get this to work.
Any suggestions please.

Thanks
T
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Compares not working past the 4th char

There probably is a simple explanation, and maybe I haven’t searched enough for it, or I've looked at this so long I can't see my own mistake, but here’s my issue. My code is such #!/bin/ksh awk ' {if ($1 == $2) {print $1,$2} } ' file1.txt File1.txt is this 000EEB2A 000EEB2A... (8 Replies)
Discussion started by: jgreene42
8 Replies

2. Red Hat

Bind (DNS) error on EL 6.4

Gurus I have configured bind 9 on Red hat EL 6.4, it can resolve from hostname i.e from domain name (like cnn.com, bbc.com)but through IP its shows following error. Need your expert opinion to solve it. error 84.23.97.31 Server: 192.168.31.24 Address: 192.168.31.24#53 ** server can't... (1 Reply)
Discussion started by: smazshah
1 Replies

3. UNIX for Advanced & Expert Users

DNS server choice: Windows DNS vs Linux BIND

I'd like to get some opnions on choosing DNS server: Windows DNS vs Linux BIND comparrsion: 1) managment, easy of use 2) Security 3) features 4) peformance 5) ?? I personally prefer Windows DNS server for management, it supports GUI and command line. But I am not sure about security... (2 Replies)
Discussion started by: honglus
2 Replies

4. UNIX for Advanced & Expert Users

DNS Bind

Hello, I have a question about dns file zone. Every zone file begins like: @ 86400 IN SOA ns1.website.com. admin@website.com. ( It means that name server ns1 is responsible for this zone. At the ending I can add the records like mysite.com IN A 1.2.3.4 So it will... (2 Replies)
Discussion started by: mirusnet
2 Replies

5. IP Networking

Postfix SPF DNS problem

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)
Discussion started by: jakethecake
3 Replies

6. Solaris

solaris - BIND / DNS

hi all forgive my ignorance, but when IVe set up DNS Ive put in the various server details in the /etc/resolv.conf and away I go. Suddenly Ive been reading about DNS, and I need to created a /etc/named.conf file. so, my question is this. DNS, what part does the /etc/resolv.conf play in... (3 Replies)
Discussion started by: sbk1972
3 Replies

7. UNIX for Dummies Questions & Answers

Bash script to extract spf records

Hello I am trying to generate a script to run on worldwide firewalls. I need the spf block for large sites like google, etc so I can essentially whitelist google sites for users. (Google here is just an example...) Right now I am just testing Bash oneliners to see how I can isolate the... (1 Reply)
Discussion started by: mbubb
1 Replies

8. UNIX for Dummies Questions & Answers

Dns/bind

Hi, Does anyone know anything about DNS/BIND? I need to tell my dns for every sub-domain foward on to my main domain.... so *.example.com gets sent to exmaple.com. Any ideas. I've looked at bind on my machine and theres about 10 files....i just don't know where to put the rule or exactly... (2 Replies)
Discussion started by: elduderino
2 Replies

9. UNIX for Dummies Questions & Answers

Adding SPF records......please help

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)
Discussion started by: thehaapyappy
11 Replies

10. IP Networking

Question on DNS/BIND

I have set up a BIND server running on Redhat AS 3.0 and the question I have is that I can point my laptop to that server and resolve all the hosts I have put in my .zone file but for the life of me I can resolve any outside information. I have verified the server can talk to the world. Any hints... (2 Replies)
Discussion started by: Acleoma
2 Replies
Login or Register to Ask a Question
Mail::SPF::Mech::MX(3)					User Contributed Perl Documentation				    Mail::SPF::Mech::MX(3)

NAME
Mail::SPF::Mech::MX - SPF record "mx" mechanism class DESCRIPTION
An object of class Mail::SPF::Mech::MX represents an SPF record mechanism of type "mx". Constructors The following constructors are provided: new(%options): returns Mail::SPF::Mech::MX Creates a new SPF record "mx" mechanism object. %options is a list of key/value pairs representing any of the following options: qualifier domain_spec ipv4_prefix_length ipv6_prefix_length See "new" in Mail::SPF::Mech. new_from_string($text, %options): returns Mail::SPF::Mech::MX; throws Mail::SPF::ENothingToParse, Mail::SPF::EInvalidMech Creates a new SPF record "mx" mechanism object by parsing the string and any options given. Class methods The following class methods are provided: default_qualifier default_ipv4_prefix_length default_ipv6_prefix_length qualifier_pattern See "Class methods" in Mail::SPF::Mech. name: returns string Returns 'mx'. name_pattern: returns Regexp Returns a regular expression that matches a mechanism name of 'mx'. Instance methods The following instance methods are provided: text qualifier params stringify domain match_in_domain See "Instance methods" in Mail::SPF::Mech. domain_spec: returns Mail::SPF::MacroString Returns the "domain-spec" parameter of the mechanism. ipv4_prefix_length: returns integer Returns the IPv4 network prefix length of the mechanism. ipv6_prefix_length: returns integer Returns the IPv6 network prefix length of the mechanism. match($server, $request): returns boolean Checks whether any MX hosts of the mechanism's target domain name (that is, any of the host addresses of its DNS "MX" records) matches the given request's IP address (see "ip_address" in Mail::SPF::Request), and returns true if it does, or false otherwise. The mechanism's IP network prefix lengths are respected when matching address records against the request's IP address. See RFC 4408, 5 and 5.4, for the exact algorithm used. SEE ALSO
Mail::SPF, Mail::SPF::Record, Mail::SPF::Term, Mail::SPF::Mech <http://tools.ietf.org/html/rfc4408> For availability, support, and license information, see the README file included with Mail::SPF. AUTHORS
Julian Mehnle <julian@mehnle.net>, Shevek <cpan@anarres.org> perl v5.16.2 2013-08-25 Mail::SPF::Mech::MX(3)