Using BIND


Getting BIND to directly talk to LDAP can be the stuff of nightmares.

Rather I describe a compromise which works as follows:

This is relatively easy to setup, but obviously there is a <=5 minute delay between you adding an entry to LDAP, and the DNS entry being known to named.

(If you run Samba, you are then in a position to use the wins hook option and have a script which add’s the client’s wins registrations directly to ldap, and hence allow name resolution between many subnets.)


To implement this solution, the following things need to happen:

Download and compile ldap2dns

Installing the schema

Define your domains in LDAP

Turning the ldap information into zone files

Last modified on 7 August 2014