Re: [wendel] adding SPF entry in BIND zone file

Atif Ghaffar <[email protected]> Wed, 20 Apr 2005 19:09:01 +0200
Newsgroups gmane.comp.isp.ispman.user
Message-ID <[email protected]>
instead of using 
$domain., please use "@" instead. This represents the domain and makes
it possible to work with replica domains.

Domain replica.com points to standard.com

in standard.com.zonefile
standard.com. IN TXT blah

replica.com also points to standard.com.zonefile
so it will not like the standard.com. line and bind will croak.

Instead if it was @ then it would represent the domain that is calling the file.




......

On 4/19/05, wendelmaques <wendel-e5LGQ1J1bCxwFqzsTH5u/[email protected]> wrote:
> This is small hack to add a TXT entry in BIND 8/9
> zone files.
> 
> First, open you /opt/ispman/conf/ispman.conf
> and add:
> 
> $Config->{'ispmanDNS_bindSPF'} = "v=spf1 mx ptr";
> 
> This turn easy to modify SPF record and rebuild
> bind files using:
> 
> /opt/ispman/bin/ispman.ldap2named in the future.
> 
> Open /usr/local/lib/dns.bind8.lib.pl and
> in near lines 212 or after 'MX RECORDS' block add:
> 
> # >>> START OF ENTRY IN dns.bind8.lib.pl
> # print SPF RECORDS
> print ZONE "\n; SPF RECORDS\n";
> print ZONE "$domain.  IN TXT
> \"@{[$ispman->getConf('ispmanDNS_bindSPF')]}\""
> if $ispman->getConf('ispmanDNS_bindSPF');
> # >>> END OF ENTRY IN dns.bind8.lib.pl
> 
> Restart you ispman-agent test DNS changes in zones.
> 
> Test you SPF in
> http://www.dnsstuff.com/pages/spf.htm
> 
> What about a entry in 'DNS Settings' in Configure Menu?
> Change in LDAP? ... ?
> 
> :)
> 
> --
> wendelmaques
> http://www.dotpix.com.br/~wendel/site/
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: New Crystal Reports XI.
> Version 11 adds new functionality designed to reduce time involved in
> creating, integrating, and deploying reporting solutions. Free runtime info,
> new features, or free trial, at: http://www.businessobjects.com/devxi/728
> _______________________________________________
> Ispman-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ispman-users
>


-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728