https://bugzilla.novell.com/show_bug.cgi?id=860480 https://bugzilla.novell.com/show_bug.cgi?id=860480#c0 Summary: Name resolution of hostname (with .site) fails Classification: openSUSE Product: openSUSE 13.1 Version: Final Platform: All OS/Version: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: novell_login@wired-brain.de QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 The hostname chosen in OpenSuSE is automatically appended with .site or any other chose domain. I have a laptop installation where it is something.site. This is also reported correctly by the hostname shell command. But it cannot be resolved back to an IP address using the command host: $> host `hostname` Host something.site not found: 3(NXDOMAIN) When just resolving the part before the dot (something), the answer of the local DNS server is presented ( a fritzbox): $> host something something.fritz.box has address 192.168.178.20 I tried to fix this in /etc/hosts, but the following line had no effect: 127.0.0.1 localhost something.site something I stumbled upon this when using a corba from java which calls a method InetAddress.getLocalHost().getHostName() which fails. Reproducible: Always Steps to Reproduce: In the (bash) shell execute: host `hostname` Actual Results: Host something.site not found: 3(NXDOMAIN) Expected Results: something.site has address 127.0.0.1 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.