Bug 217925
Summary: | OpenSSH does not look up IP addresses properly | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Eli Barzilay <eli> |
Component: | openssh | Assignee: | Tomas Mraz <tmraz> |
Status: | CLOSED NOTABUG | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6 | CC: | cra |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-09-24 19:13:23 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Eli Barzilay
2006-11-30 19:49:18 UTC
You probably have foo.org in /etc/hosts with the 127.0.0.1 entry. Otherwise <your-actual-ip> should be returned. My 127.0.0.1 entry in /etc/hosts looks like this: # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 foo foo.org localhost.localdomain localhost ::1 foo foo.org localhost.localdomain localhost Are you saying that it should *not* have "foo" and "foo.org" in there? (That does seems to make the alert message go away, but the comment at the beginning of the hosts file makes me worried. I'm not the one who wrote it.) It is written by anaconda during install but when you have actual non localhost IP the foo and foo.org should be removed manually from these lines and another entries with the actual IP address should be added. It would be a *very* good idea to make the generated comment explain all that. Or at least refer to some url where it is explained. Wouldn't this same problem occur if you had multiple IP addresses on the same server? Only if all of them reverse mapped to a single DNS name and that is clearly broken setup. Here the problem is that reverse mapping for external IP maps to foo.org but it resolves to 127.0.0.1 and not the external IP. Even if you have an IPv4 and IPv6 address reverse to a single DNS name? |