[Pdns-users] mysql2ldap anyone?

Norbert Sendetzky norbert at linuxnetworks.de
Mon Dec 8 09:21:32 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday 07 December 2003 19:09, Joakim Ryden wrote:
> > The easiest way should be to use the "host" program to do an AXFR
> > request against your current setup and pass the output to
> > zone2ldap.
>
> One thing to note about this - as far as I can tell you still have
> to craft up a named.conf file for this to work.

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


Norbert

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj/UQqAACgkQxMLs5v5/7eCLnQCfQauoRMIW0ne+2cCFQx9EvLl0
J/AAoKlDtxQiQbJ+cWxGhzibOoG3ecQh
=GqUv
-----END PGP SIGNATURE-----



More information about the Pdns-users mailing list