[Pdns-users] LDAP reverse lookups
Erol Tahirovic
erol.tahirovic at pincom.net
Fri May 19 13:59:59 UTC 2006
I've searched mailing list archives up and down and couldn't find
nothing similar to my problem, so I hope someone could help.
I've been using pdns with ldap backend for over a year now, but the only
thing I never got to work is reverse lookups.
The thing is this, when I lookup my ns1 IP address from main LDAP server
I get a correct answer like this
host -t ptr 80.71.144.1 80.71.144.4
Using domain server:
Name: 80.71.144.4
Address: 80.71.144.4#53
Aliases:
1.144.71.80.in-addr.arpa domain name pointer ns1.pincom.net.
When I try to lookup my mail server IP address I get this:
host -t ptr 80.71.144.4 80.71.144.4
Using domain server:
Name: 80.71.144.4
Address: 80.71.144.4#53
Aliases:
Host 4.144.71.80.in-addr.arpa not found: 3(NXDOMAIN)
It should return mail.pincom.net, but it doesn't.
Here are my LDAP entries:
dn:dc=144.71.80.in-addr.arpa,ou=dns,dc=pincom,dc=net
objectClass: top
objectClass: dNSDomain2
objectClass: domainRelatedObject
dc: 144.71.80.in-addr.arpa
sOARecord: ns1.pincom.net root at ns1.pincom.net 1 1800 3600 86400 7200
nSRecord: ns1.pincom.net
associatedDomain: 144.71.80.in-addr.arpa
dn:dc=1,dc=144.71.80.in-addr.arpa,ou=dns,dc=pincom,dc=net
objectClass: top
objectClass: dNSDomain2
objectClass: domainRelatedObject
dc: 1
pTRRecord: ns1.pincom.net
associatedDomain: 1.144.71.80.in-addr.arpa
dn:dc=4,dc=144.71.80.in-addr.arpa,ou=dns,dc=pincom,dc=net
objectClass: top
objectClass: dNSDomain2
objectClass: domainRelatedObject
dc: 4
pTRRecord: mail.pincom.net
associatedDomain: 4.144.71.80.in-addr.arpa
The fact is that many A records in my ldap tree point to 80.71.144.4
since it's used as mail server, but this being said since I'm using
'simple' ldap method, pdns shouldn't try to derive PTR records from A
records. So I guess that should not be a problem?
Thanks in advance
Erol
More information about the Pdns-users
mailing list