set hostname of records after get these