[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ispman-users
Subject:    Re: [Ispman-users] [wendel] adding SPF entry in BIND zone file
From:       Atif Ghaffar <atif.ghaffar () gmail ! com>
Date:       2005-04-20 17:09:01
Message-ID: f240b64050420100932030ec6 () mail ! gmail ! com
[Download RAW message or body]

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@dotpix.com.br> 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
> Ispman-users@lists.sourceforge.net
> 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
_______________________________________________
Ispman-users mailing list
Ispman-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ispman-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic