sometimes hostname -f does not work

yes, it also happens