A clean reimplementation of hostnamed with no hard dependencies on external programs.