Bind and OpenLDAP

Arjan Hulshoff arjan.m.hulshoff at zonnet.nl
Tue May 6 20:25:02 UTC 2008


Hi all,
I need some explanation and someone who can check if my named.conf is 
correct.
What needs to be explained is the database line, of course. The part 
after ldap://localhost/ou=DNS,ou=Computers,dc=example,dc=com is a bit 
strange to me. As far as I know this isn't standard LDAP, so what does 
it mean and is what I have created correct?

TIA,
Arjan.


options {
        directory "/usr/local/var/state/bind";
        pid-file "/usr/local/var/run/named.pid";
        check-names master fail;
        check-names slave warn;
        check-names response ignore;
};

zone "example.com" in {
        type master;
    database "ldap 
ldap://localhost/ou=DNS,ou=Computers,dc=example,dc=com,o=DNS,dc=example,dc=com,dc=no 
10800";
};

zone "56.168.192.in-addr.arpa" in {
        type master;
    database "ldap 
ldap://localhost/ou=DNS,ou=Computers,dc=example,dc=com,o=DNS,dc=56,dc=168,dc=192,dc=in-addr,dc=arpa,dc=no 
10800";
};

zone "0.0.127.in-addr.arpa" in {
        type master;
    database "ldap 
ldap://localhost/ou=DNS,ou=Computers,dc=example,dc=com,o=DNS,dc=0,dc=0,dc=127,dc=in-addr,dc=arpa,dc=no 
10800";
};

zone "." in {
        type hint;
    database "ldap 
ldap://localhost/ou=DNS,ou=Computers,dc=example,dc=com,o=DNS,dc=no 10800";
};




More information about the bind-users mailing list