Example Using a static ip address
AMigaOS 4.1 machines are Sam440 and Sam460
# DEVS:Internet/hosts
# File generated by Internet 53.2 (27.9.2009)
# On Thursday, 14-Nov-13 at 18:07:42
127.1 localhost localhost.my.domain
192.168.1.10 Mercury MERCURY
192.168.1.11 Apollo APOLLO
192.168.1.12 Sam440 SAM440
192.168.1.13 Sam460 SAM460
192.168.1.14 Saturn SATURN
192.168.1.15 Jupiter JUPITER
207.200.98.1 classic.shoutcast.com
# DEVS:Internet/hosts
# File generated by Internet 53.2 (27.9.2009)
# On Thursday, 10-Jul-14 at 18:46:16
127.1 pegatron pegatron
It shows the hostname I set in Internet Prefs.