Comment 3 for bug 8980

Revision history for this message
Matthias Klose (doko) wrote :

Not a gnome bug.

The default /etc/nsswitch.conf is configured to look in /etc/hosts first, then
in dns. changing the host lookup to

    hosts: dns [!UNAVAIL=return] files

gets you the fqdn. This works without timeout, even if the name server is
unreachable or your network cable isn't plugged in (but in this case you still
get localhost.localdomain.


    hosts: dns [!UNAVAIL=tryagain] files

is a safer default setting.