For hostname - use other DNS services.
For hostname and localhost - use native resolution

This will use /etc/hosts, and is needed since the
node hostname is determined by getting the hostname
and reverse resolving it.