[Pdns-users] mysql2ldap anyone?

Norbert Sendetzky norbert at linuxnetworks.de
Mon Dec 8 09:47:01 UTC 2003


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


Norbert

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

iEYEARECAAYFAj/USJUACgkQxMLs5v5/7eAV0gCgtL8lNGCgvUOKpaQ3iRnIOwHM
5VkAoLcNmpVjcDbwvrJxUqtSj6LO7Kua
=9lNK
-----END PGP SIGNATURE-----



More information about the Pdns-users mailing list