Re: [Pdns-users] NOTIFY by pdns master with ldap backend in next authoritative server releases?

2010-10-05 Thread Nikolaos Milas
Until this issue is resolved and pdns/ldap becomes capable of sending Notify messages as Master, I had to find a temporary - I hope - solution, and now I have managed to bring it to a working mode. So, I have installed notify-dns-slaves included in the package slapi-dnsnotify-0.2.1.tar.gz (se

Re: [Pdns-users] NOTIFY by pdns master with ldap backend in next authoritative server releases?

2010-10-02 Thread Nikolaos Milas
Thanks Nils, I have now filed a bug ("new enhancement") for this, it's No. 318. (http://wiki.powerdns.com/trac/ticket/318). Nick. On 2/10/2010 4:20 μμ, Nils Breunese (Lemonbit) wrote: I believe most public bug trackers a

Re: [Pdns-users] NOTIFY by pdns master with ldap backend in next authoritative server releases?

2010-10-02 Thread Nils Breunese (Lemonbit)
Nikolaos Milas wrote; > In any case, returning to pdns/ldap notify support, I thought of filing a > bug, but this simply is not a bug, but rather expected behavior, athough we > ldap-backend users have a hard time with it! I believe most public bug trackers are also used for feature requests an

Re: [Pdns-users] NOTIFY by pdns master with ldap backend in next authoritative server releases?

2010-10-02 Thread Nikolaos Milas
First, the question why use ldap as dns backend tends to be more or less philosophical, but in two words, (at least) when you have medium sized zones and organizations, LDAP is *a very convenient central repository of all organizational information* and is easily administered using e.g. phplda

Re: [Pdns-users] NOTIFY by pdns master with ldap backend in next authoritative server releases?

2010-10-02 Thread Nils Breunese (Lemonbit)
Nikolaos Milas wrote: > So, my request to add master support to ldap backend remains open! I have no experience with using LDAP as a backend myself (I don't even know why you'd want to use LDAP as a backend), but have you actually filed a request ticket in the bug tracker? http://wiki.powerdns

Re: [Pdns-users] NOTIFY by pdns master with ldap backend in next authoritative server releases?

2010-10-02 Thread Nikolaos Milas
An addition: despite the reported errors, notify is sent and received successfully, so notify-dns-slaves works fine! So, this tool could be used with a cron'ed custom (bash) script (if one can't make slapi-dnsnotify work) which would regularly ldapsearch soarecord serials and send notify (whe

Re: [Pdns-users] NOTIFY by pdns master with ldap backend in next authoritative server releases?

2010-10-02 Thread Nikolaos Milas
I have reached to the same conclusion. However, rebuilding openldap doesn't seem to be easy or straightforward (but I'll give it a try when I can)... It is commonly accepted that in production servers, pre-built, platform-specific RPMs are preferred (to avoid all sorts of problems), compiled

Re: [Pdns-users] NOTIFY by pdns master with ldap backend in next authoritative server releases?

2010-10-02 Thread Jan-Piet Mens
> Why openldap refuses to load the plugin (one way or another)? Am I doing > something wrong? I'd say your slapd has no support for loadable modules -- you're going to have to rebuild it. -JP ___ Pdns-users mailing list Pdns-users@mailman.power

Re: [Pdns-users] NOTIFY by pdns master with ldap backend in next authoritative server releases?

2010-10-01 Thread Nikolaos Milas
Thanks again for your help, JP. I describe in short some more things I tried (I still need your guidance): Initially, I found out that the plugin was not being loaded in openldap (as recorded in ldap.log): /etc/openldap/slapd.conf: line 182: keyword ignored And: # slaptest -d 255 -f

Re: [Pdns-users] NOTIFY by pdns master with ldap backend in next authoritative server releases?

2010-10-01 Thread Jan-Piet Mens
> Changing the SOA serial doesn't seem to trigger any NOTIFY to NS Servers > defined for the zone. > > Also, I see no sign of logging anywhere... > > It's as if the configuration statement included in slapd.conf is accepted, > but never doing something. No hints really, as I haven't used that bi

Re: [Pdns-users] NOTIFY by pdns master with ldap backend in next authoritative server releases?

2010-10-01 Thread Nikolaos Milas
An update: I installed it on my ldap master too, but it doesn't seem to be sending NOTIFY as well. (All servers are CentOS 5.5 with openldap 2.3.43.el5_5.2-12-x86_64 and latest versions of powerdns available.) Changing the SOA serial doesn't seem to trigger any NOTIFY to NS Servers define

Re: [Pdns-users] NOTIFY by pdns master with ldap backend in next authoritative server releases?

2010-09-30 Thread Nikolaos Milas
Thanks JP, I just tried it. I installed it on my master pdns/ldap server (I had no installation problems), but I haven't managed to make it work (yet). It doesnt' seem to send notify. I have the following questions: 1. The LDAP server used by my pdns primary master is a SLAVE LDAP se

Re: [Pdns-users] NOTIFY by pdns master with ldap backend in next authoritative server releases?

2010-09-30 Thread Jan-Piet Mens
Nikolaos, > I know that ldap backend does not support NOTIFY (so it neither supports > master/slave operation), and that this is due to LDAP specifications (or > so). The same problem exists e.g. in BIND9 with sdb (ldap backend). Have you looked at slapi-dnsnotify? It's an OpenLDAP plugin that

Re: [Pdns-users] NOTIFY by pdns master with ldap backend in next authoritative server releases?

2010-09-29 Thread Nikolaos Milas
Dennis, Thanks for the reply. In order to achieve quick sync (max 5 min), this would require a cron job to run every, say, 5 minutes (this is not bad). A simple text file would be used to record the latest retrieved SOA serials (for all zones concerned), and then ldapsearch would find and co

Re: [Pdns-users] NOTIFY by pdns master with ldap backend in next authoritative server releases?

2010-09-29 Thread Dennis Roos
Hi, I guess a simple shell script can do the job for you: * ldapsearch SOA records that changed today (provided your SOA numbering is using dates) * for each entry pdns_control notify domainname Just my $.02 Dennis Roos Nikolaos Milas wrote: Hi, I didn't receive any replies on this. As

Re: [Pdns-users] NOTIFY by pdns master with ldap backend in next authoritative server releases?

2010-09-29 Thread Nikolaos Milas
Hi, I didn't receive any replies on this. As we are deploying a new DNS server infrastructure in our organization and we have planned to use pdns/ldap on our primary master (already in operation), it would be important to us to know whether NOTIFY from pdns/ldap ("master operation") will be