$ man xhost | grep -A 2 FILES FILES /etc/X*.hosts
So, I would look at / etc for a file matching this pattern.
A more general lesson is here: many teams that use certain files during their work will document these files on their manual pages. So, it is a good idea when someone wonders something like this to check the manual. The FILES section is often at the bottom, so a quick "person" followed by a ">" ( less to go to the end of the file) often shows what you are looking for.
source share