add hostname in dns based on the actual hostname