The order in which hostnames are resolved from the local hosts file, the local nameserver daemon, or remote daemons is configurable, usually in /etc/resolv.conf. Windows machines also have the option of using a remote hosts file.