From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: Re: Neon and reverse address lookup Date: Wed, 5 Feb 2014 18:30:29 +0100 Message-ID: <20140205173029.GB15773@debian> References: <20140118124847.GA6166@debian> <8738klou1c.fsf@gnu.org> <87ob39osyh.fsf@netris.org> <87iotgkmis.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38757) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WB6JM-0001sD-Mu for guix-devel@gnu.org; Wed, 05 Feb 2014 12:31:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WB6JF-0007QG-Ef for guix-devel@gnu.org; Wed, 05 Feb 2014 12:30:56 -0500 Content-Disposition: inline In-Reply-To: <87iotgkmis.fsf@gnu.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?iso-8859-15?Q?Court=E8s?= Cc: guix-devel@gnu.org On Sun, Jan 19, 2014 at 04:40:43PM +0100, Ludovic Courtès wrote: > The issue is that the default config for the ‘hosts’ database when > resolv.conf is missing is (see nss/hosts-lookup.c): > dns [!UNAVAIL=return] files > When doing a host name lookup, ‘dns’ is unavailable, so we go on with > ‘files’ and /etc/hosts is honored as expected. > However, when doing a reverse lookup, the DNS resolver > (__libc_res_nquery) returns ‘notfound’, and so ‘gethostbyaddr’ returns > immediately. > Changing the ‘hosts’ config to “dns files” solves this particular. > I’ll ask for advice on libc-help. Did anything come out of this? How should I proceed for the neon package? Andreas