Added flag to control triggering of the update-dns command, as running the command counts as an applied resource