[Pdns-users] API functionality with ldap backend in 4.1.0
admin at livas.lv
Mon Dec 4 17:22:13 UTC 2017
If you really need LDAP as backend, I can't advice anything.... but don't see benefits of using LDAP over GMYSQL.
In my case I use Generic-MySQL type of backend with MariaDB SQL 10.2.
Authoritative servers (Primary, Secondary) synchronized with SQL "native" replication.
Install apache2+php5+PEAR and PowerAdmin from there http://www.poweradmin.org/index.html
This will 100% work (tested on ESXi6.0, with Ubuntu 14.04LTS) and you can add/delete/edit zones and records in web interface.
It also supports DNSSEC.
From: Pdns-users [mailto:pdns-users-bounces at mailman.powerdns.com] On Behalf Of Dirk Bartley
Sent: Monday, December 04, 2017 6:47 PM
To: pdns-users at mailman.powerdns.com
Subject: [Pdns-users] API functionality with ldap backend in 4.1.0
I have a testing vm installed and functional and answering dns queries. pdns-
4.1.0 I installed PowerDNS-Admin as a possible add on interface and it appears the API calls for stats and configuration are working, but not the other api calls for zones and hosts.
The ldap data is the output of pdns-zone2ldap. I did get the schema into openldap with the additional pdns-domaininfo schema. For one zone for testing purpose I added data for PdnsDomain to see if I could get it to work.
curl -v -H 'X-API-Key: abc' http://127.0.0.1:8081/api/v1/servers/localhost/zones
returns an empty set of zones. I have watched the slapd logs and noticed that when the above curl command is run, powerdns connects to slapd, but performs no searches.
So my question is should the api functionality correctly function with ldap backend, or is this still a work in process. Is there something more I need to do.
Thank you very kindly in advance for your assistance.
Aside: It took a bit of effort to create the ldif files to load the schemas in the openldap. I could provide the ones I created for inclusion if desired.
This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean.
Pdns-users mailing list
Pdns-users at mailman.powerdns.com
More information about the Pdns-users