Support dynamic DNS with avahi.
Be sure that we have a hostname to change.
Make sure we are running as root.