[Bug 860480] New: Name resolution of hostname (with .site) fails
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.
https://bugzilla.novell.com/show_bug.cgi?id=860480 https://bugzilla.novell.com/show_bug.cgi?id=860480#c1 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bwiedemann@suse.com --- Comment #1 from Bernhard Wiedemann <bwiedemann@suse.com> 2014-02-10 14:17:51 CET --- the 'host' command tries to do a DNS lookup, but I guess a) you dont have a DNS server setup to serve that domain and b) I know the fritzbox has a security feature that prevents local addrs to be returned. please try instead getent hosts `hostname` or ping `hostname` you can also have a look at /etc/hosts and see if it has your hostname included after the IP -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=860480 https://bugzilla.novell.com/show_bug.cgi?id=860480#c Xiyuan Liu <xyliu@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xyliu@suse.com AssignedTo|bnc-team-screening@forge.pr |pgajdos@suse.com |ovo.novell.com | -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=860480 https://bugzilla.novell.com/show_bug.cgi?id=860480#c Petr Gajdos <pgajdos@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |novell_login@wired-brain.de -- 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.
https://bugzilla.novell.com/show_bug.cgi?id=860480 https://bugzilla.novell.com/show_bug.cgi?id=860480#c2 Petr Gajdos <pgajdos@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|novell_login@wired-brain.de | Resolution| |NORESPONSE --- Comment #2 from Petr Gajdos <pgajdos@suse.com> 2014-02-17 12:15:31 UTC --- Please reopen as soon as you can provide more information .. output from commands in comment 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.
participants (1)
-
bugzilla_noreply@novell.com