Created attachment 202231 [details]
I tried nsnotifyd, and could imagine someone would like to run different scripts, for -for example- ins/del/upd.
So I played with the rc script that Mark made (see below), and and enabled it for multiple use.
Not sure if I will use it myself, but I thought could be useful to others.
So, this is more a suggestion that a "problem report".
Further I'm not 100% sure if my adaptions are the most adequate, though peeking at other rc scripts I think it's OK.
Can you elaborate more upon the different scripts?
You run multiple instances of nsnotifyd so you can do different things depending upon which zones are updated?
Almost; different functions at different port, for example:
notify for dom.tld at port 5301 => add.sh
notify for dom.tld at port 5302 => xfr.sh
notify for dom.tld at port 5303 => del.sh
And with those scripts maintain DNS servers with limitations (like NSD that doesn't fully support DDNS, or PowerDNS which also has only partial support).
Also each server (Bind, Knot, NSD, Yadifa, PowerDNS) have it's own different remote control commands. This setup would allow to execute commands locally on a secondairy.
I have to add that I'm currently using another solution, but I thought it was a useful contribution.
However, I haven't tried it's support for metazones.
If you think it overcomplicates / rather keep it simple, then just ignore/close this report.