Bug 427181

Summary: bind tool host interprets search order without leading dot
Product: [Fedora] Fedora Reporter: David Carlson <thecubic>
Component: bindAssignee: Adam Tkac <atkac>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 8CC: ovasik
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-02 11:45:25 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 David Carlson 2008-01-02 02:11:13 UTC
Description of problem:

host is querying "compyexample.com" instead of "compy.example.com" when you run
'host compy' with an example.com search domain

Version-Release number of selected component (if applicable):

bind-utils-9.5.0-20.b1.fc8

How reproducible:

Steps to Reproduce:
1. Have a domain in your search order
2. Run host against a known short name in your domain
3. Miserable Failure
  
Actual results:

[thecubic@hades ~]$ host mars
Host mars not found: 3(NXDOMAIN)

[thecubic@hades ~]$ ping mars
PING mars.thecubic.net (192.168.6.11) 56(84) bytes of data.
64 bytes from 192.168.6.11: icmp_seq=2 ttl=64 time=5.30 ms

[thecubic@hades ~]$ host -v mars
Trying "marsthecubic.net"
Trying "mars"
Host mars not found: 3(NXDOMAIN)
Received 97 bytes from 192.168.6.1#53 in 1 ms

[thecubic@hades ~]$ host mars.
mars.thecubic.net has address 192.168.6.11
mars.thecubic.net has IPv6 address 2002:1876:9a5d:ecbc:20e:35ff:fe3f:8295

Expected results (as worked on Fedora 7):

[thecubic@hades ~]$ host mars
mars.thecubic.net has address 192.168.6.11
mars.thecubic.net has IPv6 address 2002:1876:9a5d:ecbc:20e:35ff:fe3f:8295

Additional info:

This worked on Fedora 7

Comment 1 Adam Tkac 2008-01-02 11:45:25 UTC

*** This bug has been marked as a duplicate of 426348 ***