[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#95108: marked as done (Bad parsing of resolv.conf)

Your message dated Thu, 21 Mar 2002 16:44:36 +0100
with message-id <20020321154436.GA16072@lise.hsc.fr>
and subject line host: Parsing /etc/resolv.conf
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Received: (at submit) by bugs.debian.org; 24 Apr 2001 12:38:09 +0000
>From schaumat@ens-lyon.fr Tue Apr 24 07:38:09 2001
Return-path: <schaumat@ens-lyon.fr>
Received: from buffalo.ens-lyon.fr [] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 14s252-0006Et-00; Tue, 24 Apr 2001 07:38:08 -0500
Received: from mercure (mercure [])
	by buffalo.ens-lyon.fr (8.11.2/8.11.2) with ESMTP id f3OCc2923835
	for <submit@bugs.debian.org>; Tue, 24 Apr 2001 14:38:03 +0200 (MET DST)
Received: from schaumat by mercure with local (Exim 3.12 #1 (Debian))
	id 14ryV5-0006vC-00
	for <submit@bugs.debian.org>; Tue, 24 Apr 2001 10:48:47 +0200
To: submit@bugs.debian.org
From: Sebastien Chaumat <Sebastien.Chaumat@ens-lyon.fr>
Subject:  Bad parsing of resolv.conf
X-Mailer: bug-buddy 1.2
Message-Id: <E14ryV5-0006vC-00@mercure>
Sender: Sebastien Chaumat <schaumat@ens-lyon.fr>
Date: Tue, 24 Apr 2001 10:48:47 +0200
Delivered-To: submit@bugs.debian.org

Package:  dnsutils
Severity: normal
Version:   8.2.3
Synopsis: Bad parsing of resolv.conf
Class:    sw-bug

Distribution: Debian 2.2
System: Linux 2.2.17 i686 unknown


According to the resolv.conf manpage one can put in this file:

search domain1 domain2

But then the command host only try the first domain (domain1)

If we split the search line :

search domain1
search domain2

then the command host works correctly:

suggested solution: change the manpage or review the file parser of


Sebastien Chaumat

Received: (at 95108-done) by bugs.debian.org; 21 Mar 2002 15:45:21 +0000
>From tomasera@debian.org Thu Mar 21 09:45:21 2002
Return-path: <tomasera@debian.org>
Received: from itesec.hsc.fr [] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 16o4kj-0001Cd-00; Thu, 21 Mar 2002 09:45:21 -0600
Received: from lise.hsc.fr (lise.hsc.fr [])
	by itesec.hsc.fr (Postfix) with ESMTP
	id 48392211C2; Thu, 21 Mar 2002 16:45:20 +0100 (CET)
Received: by lise.hsc.fr (Postfix, from userid 1000)
	id BE6B96A1FF; Thu, 21 Mar 2002 16:44:36 +0100 (CET)
Date: Thu, 21 Mar 2002 16:44:36 +0100
From: Thomas Seyrat <tomasera@debian.org>
To: 95110-done@bugs.debian.org, 95108-done@bugs.debian.org
Subject: host: Parsing /etc/resolv.conf
Message-ID: <20020321154436.GA16072@lise.hsc.fr>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
User-Agent: Mutt/1.3.27i
X-Reportbug-Version: 1.49
Organization: Debian Project
X-Operating-System: Debian/GNU/* 3.0 - Linux 2.4.17
X-Fingerprint: B26A 9FE7 83DD 721C 90F8 9B5E F38E 02FC 07AC F6FA
Delivered-To: 95108-done@bugs.debian.org

Followup-For: Bug #95110
Package: host
Version: 20000331-3

  Only the syntax 'search domain1 domain2 domain3 ...' is correct.
  It was the wish of host's author to make host search only on fully
  qualified domain names (and by extension, only on the 'domain' or
  first 'search' domain of resolv.conf).

  There is a documented option to the host command which allows you to
  go through all the listed domains : -R.

  Hope this solves your problem ...

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux lise 2.4.17 #1 jeu jan 24 20:15:40 CET 2002 i686
Locale: LANG=french, LC_CTYPE=french

Versions of packages host depends on:
ii  libc6                         2.2.5-3    GNU C Library: Shared libraries an

Thomas Seyrat.

Reply to: