13 msgManaging an Internet outage
2 msgWPAD / PAC woes
5 msgdnssec-keygen: a key with algorithm 'HMAC-MD5' ...
4 msgResolution Check
3 msgBIND can't resolve with unreachable second NS
10 msgspecial features
2 msgModifying BIND to provide requesting IP address...
3 msgSetting up my MX's records to redirect mail fro...
9 msgMultiple SOA records?

Bind and OpenLDAP
\ Arjan Hulshoff (6 May 2008)
. \ Kevin Darcy (6 May 2008)
. . \ Arjan Hulshoff (6 May 2008)
. . . \ Pedro Espinoza (7 May 2008)
. \ Marcio Garcia (6 May 2008)
. . \ Arjan Hulshoff (7 May 2008)

3 msgbind dlz : using only Mysql
8 msgSuggestions for coping with this issue
7 msgQuestions about Bind and AD dns integration
14 msgOverriding MX records to internal gateways
3 msgBind + DKIM (ran out of space)
2 msgtime set to UTC
1 msgSplit horizon with forwarding
8 msgAre failures cached?
2 msgcatch-all
2 msgProblems Configuring Bind on Windows Server 2003
Subject:Re: Bind and OpenLDAP
Group:Bind-users
From:Marcio Garcia
Date:6 May 2008


 
Hi,

I already have some customers with BIND + LDAP.

My named.conf:

zone "example.pt" {
type master;
database "ldap
ldap://127.0.0.1/zoneName=example.pt,dc=DNS,dc=example,dc=pt 3600";
};

My LDIF:

dn: zoneName=example.pt,dc=DNS,dc=example,dc=pt
objectClass: top
objectClass: dNSZone
relativeDomainName: @
zoneName: example.pt
dNSTTL: 3600
dNSClass: IN
sOARecord: example.pt. root.example.pt. 2007052900 3600
1800 604800 86400
nSRecord: example.pt.
aRecord: 10.10.10.10

dn:
relativeDomainName=www,zoneName=example.pt,dc=DNS,dc=example,dc=pt
objectClass: top
objectClass: dNSZone
relativeDomainName: www
zoneName: example.pt
dNSTTL: 3600
dNSClass: IN
aRecord: 10.10.10.10


:)

Marcio Garcia


2008/5/6 Arjan Hulshoff <arjan.m.hulshoff>:
> 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,d c=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";
> };
>
>
>
>



© 2004-2008 readlist.com