Hi,
I patched nsd-notify similar to nsd-xfer. To be compliant with the existing code i haven taken
the code of nsd-xfer, which already supports the -a flag and binding to specific addresses.
Additional changes:
nsdc:
- read "ip-address" in ${configfile} and give as arguments ("-a") to nsd-notify
nsd.conf.sample:
- added note on "ip-address" which is now used for source-addres of nsd-notify
nsd-notify.8:
- added -a flag
nsd-xfer.8:
- added missing -a flag
Maybe it is a good idea to put
check_matching_address_family
and
*find_by_address_family
into their own new c-file, because nsd-xfer and nsd-notify are using them.
(attachments)
nsd-3.0.5.patch (6.6 KB)