[Pdns-users] mysql2ldap anyone?

Joakim Ryden jryden at thebox.our-own.net
Mon Dec 8 09:56:07 UTC 2003


On 12/8/03 1:47 AM Norbert Sendetzky wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Monday 08 December 2003 10:21, Norbert Sendetzky wrote:
> 
>>You can also something like:
>>
>>for DOMAIN in $DOMAINS; do
>>  host -t AXFR $DOMAIN $DNSSERVER > $DOMAIN.zone;
>>  zone2ldap --... --zone-name=$DOMAIN --zone-file=$DOMAIN.zone >
>>$DOMAIN.ldif;
>>done
> 
> 
> One correction:
> You have to use
> 
> dig @$DNSSERVER $DOMAIN AXFR > $DOMAIN.zone;
> 
> instead of the "host" command. "host" doesn't generate the right 
> output.

Whoops - just saw this. :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 2809 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mailman.powerdns.com/pipermail/pdns-users/attachments/20031208/ad8ff35a/attachment-0001.bin>


More information about the Pdns-users mailing list