[Pdns-users] LDAP backend - multiple ldap-basedn statements ?

RafaƂ Kupka rkupka+Listy.PDNS at pronet.com.pl
Tue May 29 14:48:59 UTC 2007


On Tue, May 29, 2007 at 04:14:55PM +0200, Andy Rabagliati wrote:
> On Tue, 29 May 2007, Norbert Sendetzky wrote:
Hello,

[cut]

> > But you can use the virtual hosting facility of pdns to query two LDAP servers 
> > with different configurations and trees.
> 
> But I only have one IP and one port 53 ..
> 
> This is intended to be a public nameserver.
> 
> Perhaps if I start the other one on another port / loopback, and point
> to it as the "recursor" for the main instance, I can have the first be
> authoritative for both zones ?

Other option is to use multiple ldap backends.

ldap-first-host=127.0.0.1:389
ldap-first-starttls=no
ldap-first-basedn=o=first
ldap-first-binddn=cn=pdns2,ou=Accounts,o=first
ldap-first-secret=xxx
ldap-first-method=simple

ldap-second-host=127.0.0.1:389
ldap-second-starttls=no
ldap-second-basedn=o=second
ldap-second-binddn=cn=pdns1,ou=Accounts,o=second
ldap-second-secret=xxx
ldap-second-method=simple

Kupson
PS: There were versions with broken support for multiple (same type)
backends, but I don't remember exact version numbers.


More information about the Pdns-users mailing list