The hostnamechanger performs double duty. It renames the client and joins it to the domain if requested. Also, if a host is a member of the domain and you change the host record, the hostnamechange has to deal with AD to change the host name.