Bugfix: hostname: Host name lookup failure

Bug: https://bugzilla.novell.com/show_bug.cgi?id=886238

Fixed the bug: If the /etc/resolv.conf is broken, "hostname -f" could not say
the hostname of the current host.

Resolution: Added a new entry in the /etc/hosts file. (IP, FQDN & Hostname)
Merge pull request #344 from mschnitzer/master

Bugfix: hostname: Host name lookup failure