Sponsored Content
Top Forums UNIX for Dummies Questions & Answers In BIND 9.3 DNS trying to get past the 256 char limit in SPF TXT records Post 302325925 by tmanx on Tuesday 16th of June 2009 01:17:58 PM
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
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
python-spf(1)						      General Commands Manual						     python-spf(1)

NAME
pyspf - pure-Python SPF library VERSION
2.0.7 DESCRIPTION
SPF does email sender validation. For more information about SPF, please see http://www.openspf.org/ One incompatible change was introduced in version 1.7. Prior to version 1.7, connections from a local IP address (127...) would always return a Pass result. The special case was eliminated. Programs calling pySPF should not do SPF checks on locally submitted mail. This SPF client is intended to be installed on the border MTA, checking if incoming SMTP clients are permitted to forward mail. The SPF check should be done during the MAIL FROM:<...> command. USAGE
There are multiple ways to use this package: To check an incoming mail request: % pyspf [-v] {ip} {sender} {helo} % pyspf 69.55.226.139 tway@optsw.com mx1.wayforward.net To test an SPF record: % pyspf [-v] "v=spf1..." {ip} {sender} {helo} % pyspf "v=spf1 +mx +ip4:10.0.0.1 -all" 10.0.0.1 tway@foo.com a To fetch an SPF record: % pyspf {domain} % pyspf wayforward.net To test this script (and to output this usage message): % pyspf For instance, during an SMTP exchange from client 69.55.226.139:: S: 220 mail.example.com ESMTP Postfix C: EHLO mx1.wayforward.net S: 250-mail.example.com S: ... S: 250 8BITMIME C: MAIL FROM:<terry@wayforward.net> Then the following command line would check if this is a valid sender: % pyspf 69.55.226.139 terry@wayforward.net mx1.wayforward.net ('pass', 250, 'sender SPF authorized') Command line calls return RFC 4408 result codes, i.e. 'pass', 'fail', 'neutral', 'softfail, 'permerror', or 'temperror'. RFC 4408 TEST SUITE The package also installs the python-spf test driver and the current (as of the release date) YAML (Yet Another Markup Language) RFC 4408 test definitions. As errors or improvements in the test definitions are approved, they are available from: <http://www.openspf.net/Test_Suite> To run the test suite, change the directory the test suite is installed in: $ cd /usr/share/doc/python-spf Uncompress testspf.py.gz, testspf.py.gz, and rfc4408-tests.yml.gz and then run testspf.py: $ python testspf.py The test suite supports multiple allowed results with a warning for a non-preferred result. For the current version, the expected results are: WARN: invalid-domain-long in rfc4408-tests.yml, ['8.1/2', '5/10']: fail preferred to temperror WARN: txttimeout in rfc4408-tests.yml, 4.4/1: fail preferred to temperror WARN: spfoverride in rfc4408-tests.yml, 4.5/5: pass preferred to fail WARN: multitxt1 in rfc4408-tests.yml, 4.5/5: pass preferred to permerror WARN: multispf2 in rfc4408-tests.yml, 4.5/6: permerror preferred to pass OTHER PROGRAMS
This package also provides two additional helper scripts; type99.py and spfquery.py. The type99.py script will convert DNS TXT strings to a binary equivalent suitable for use in a BIND zone file. The spfquery.py script is a Python reimplementination of Wayne Schlitt's spf- query command line tool. These scripts are described in pyspf-type99(1) and spfquery.pyspf(1) man pages. SEE ALSO
RFC 4408, <http://www.openspf.org> AUTHORS
This version of pyspf was written by Terence Way <terry-spf@wayforward.net> and updated by Stuart Gathman <stuart@bmsi.com> and Scott Kit- terman <scott@kitterman.com>. This man-page was created by Scott Kitterman <scott@kitterman.com>. 2012-02-05 python-spf(1)
All times are GMT -4. The time now is 06:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy