From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cygnus.enyo.de (cygnus.enyo.de [79.140.189.114]) by sourceware.org (Postfix) with ESMTPS id 3C16A3858D28 for ; Mon, 6 Nov 2023 05:58:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 3C16A3858D28 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=deneb.enyo.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=deneb.enyo.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 3C16A3858D28 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=79.140.189.114 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699250321; cv=none; b=eyI69AmXrfGBNCJqq+fDfp0BOIDRRGybuzxG3aSpaSAdwrbvpEePyR0bZu2B8ubzNYCS7UppLWAp53e1qq7nPTRvbh8YzriKAgD8IHZ4dyqcwEgBt6c11fcB4y97cA5Fz2ldcXDPRzFRmQxl2FLhFrynt6iWElSlw6k9rMQBgyw= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1699250321; c=relaxed/simple; bh=35lsjqWQKiNIOiEl+RjGH+k8yOOC9/2uk4fvgpoakK8=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=GMn0fbsMq3yFQvdDkwCY9soMKayEgfAEdoiDYXc0IknrIAn8xGj8N0SF3K+/+juaUrqEMIXiCeHHF0fx97JnAVuDdjTsG4/0NEmhlnxyLs5qrknGnipAUaQaDAjT1H+3FatdrAbSgwDj2MQX6/PNJ8VBV8GNSswph3MiF0HVW54= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from [172.17.203.2] (port=47203 helo=deneb.enyo.de) by albireo.enyo.de ([172.17.140.2]) with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) id 1qzsdB-005pUq-R4; Mon, 06 Nov 2023 05:58:38 +0000 Received: from fw by deneb.enyo.de with local (Exim 4.96) (envelope-from ) id 1qzsdC-00041C-2Q; Mon, 06 Nov 2023 06:58:38 +0100 From: Florian Weimer To: Glenn Golden Cc: libc-help@sourceware.org Subject: Re: getent ahostsv4 seems to interact with network interface addressing References: <875y2ggdv9.fsf@mid.deneb.enyo.de> Date: Mon, 06 Nov 2023 06:58:38 +0100 In-Reply-To: (Glenn Golden's message of "Sun, 5 Nov 2023 17:43:55 -0700") Message-ID: <87cywnxw1d.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: * Glenn Golden: > Florian Weimer [2023-11-05 21:10:50 +0100]: >> By default, getent uses AI_ADDRCONFIG under the covers, and what you >> see is the expected behavior of that getaddrinfo option. Recent glibc >> versions have a getent option that switches of AI_ADDRCONFIG: >> >> -A, --no-addrconfig do not filter out unsupported IPv4/IPv6 addresses >> (with ahosts*) > > Which getent.1 man page is the above excerpted from? It doesn't appear in > the latest man-pages release (6.05.01-1 pkg on Arch) and it's also not > in the git man-pages tree at kernel.org: > > https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/tree/man1/getent.1 > > Am I looking in the wrong place for latest man pages? Sorry, it's just --help output. I think we haven't updated the manpages yet.