Hi everyone:
On past May 23rd I've announced through the list I made a patch to support "source address" on nsd-notify. At that time I was too lazy to sent the patch files.
Now I'm not being lazy, so here we are.
The change was add a new option (-a <address>) to nsd-notify to specify the source address for the outcoming packet.
Also addedd a new option in nsd.zones file. To use it, anyone should write somethink like this:
zone <zonename> <zonefile> notify-source <source address> notify <destination address>
And finally changed nsdc.sh to parse the new option when available.
The code has been tested on a production server using a BIND server as a secondary.
I hope it helps.
(The patchs were made against a NSD 2.3.3 source code)
Kind Regards
(attachments)
patch-server.c (808 Bytes)
patch-nsdc.sh (1.52 KB)
patch-nsd-notify.c (4.86 KB)