Bug 11374

Summary: search list only searches n-1
Product: [Retired] Red Hat Linux Reporter: mike
Component: bindAssignee: Cristian Gafton <gafton>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2000-05-23 20:32:39 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 mike 2000-05-11 21:38:12 UTC
if /etc/resolve.conf contains:
 search x.foo.com y.foo.com foo.com

and the host bar.foo.com is searched for via `nslookup bar', the search
fails.

if the line is modified to:
  search x.foo.com y.foo.com foo.com bogus.com

it works and resolves to `bar.foo.com'

Comment 1 nkadel 2000-05-23 20:32:59 UTC
I cannot duplicate this behavior: I've tried adding and deleting several
different domain entries, inside and outside of my local domain.

Are you sure you didn't have a typo in your domain entry?

Comment 2 Henri Schlereth 2000-07-12 22:50:44 UTC
Unable to duplicate this as well. As I would quote from the bind users-list "If you conceal the actual domain/machine names
we cannot even begin to help you or duplicate the error"

The normal accepted format for resolv.conf should be:
domain foo.com
search foo.com
nameserver 192.168.1.1
nameserver 192.168.1.2

Henri J. Schlereth