Bug 427822
| Summary: | command "host" interprets relative names without adding a dot before domain | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Petr Šplíchal <psplicha> |
| Component: | bind | Assignee: | Adam Tkac <atkac> |
| Status: | CLOSED DUPLICATE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 8 | CC: | ohudlick, ovasik, whanlon |
| 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: | 2008-01-08 11:17:40 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
Petr Šplíchal
2008-01-07 18:15:06 UTC
Me too This is odd. The behavior of the host command seems to be the opposite of how the man page describes it. When I query a host in my (only) search domain with a dot, the host command smashes the host and domain together and reports (correctly) the host doesn't exist. If I query with a single dot at the end of the hostname without domain, it is supposed to treat the input as an absolute hostname, which should not work, but for this broken version of host it does. This doesn't work but should: host hrlx01 Host hrlx01 not found: 3(NXDOMAIN) This works but shouldn't: host hrlx01. hrlx01.cosmic.utah.edu has address 155.101.22.101 my resolv.conf: search cosmic.utah.edu nameserver 155.101.22.167 nameserver 155.101.22.168 nameserver 155.101.3.10 |