Fix notifications on Dynamic DNS DHCP options

From DNS Domains model.

It also fixes the notifyActions framework in this corner case usage.

Affected tracker: https://tracker.zentyal.org/issues/842