dispatch `dns-change` dispatcher event

Gris Ge requested to merge cathay4t/NetworkManager:dns_changed_event into main

Introducing new dispatcher event -- dns-change which will be emitted when DNS configuration changed(even in dns=none mode). This is to solve two use cases:

  • Invoke dispatch script for DNS changes triggered by the global DNS API.

  • Do not invoke OpenShift resolv-prepender for non-DNS changes.

Merge request reports