delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2024/02/15/14:41:29

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CA3F5386D62C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1708026087;
bh=V2+s/gKBseOWS/G6hjm31JbGlfeeLeaCBZi8djwyMP0=;
h=To:CC:Subject:Date:References:In-Reply-To:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=cTtcjq9EEml2iQe8Mt6fwY6Mt3136EiT2BsYtUayyj7N2uegdH8jXO4gBWtRoQ6xK
zs6YIomxdPboTSc3ZQb01Ga1CcVrwSSdrFaiepCrNCHxF1sFwmG8dKBybmooDN5Nrw
VBJdpNbOH7x3lxowOJM2lFJ2MNRCrIGj9uhHXkBo=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 1348F386D604
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 1348F386D604
ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1708026027; cv=pass;
b=VrHLm4N5UlJcZhNYa1+j5gK1itGkiJlQ4wMlc5djxwg676BIXE278wYQbauHfZui3B3hq7hEN13LSasJbC0VlCAb1pKZioR1p/PlAKA9IR1o7Qy0AqQlX1pL1+Ovx4wdYGHVMHLO+k+Zsj01FHmQcpLDYfc2WpFe9FiokwMalvw=
ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key;
t=1708026027; c=relaxed/simple;
bh=2vSIDBvFueVwtrExoo68VsJOomT9NL/SUwTMANB+1Gw=;
h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID:
MIME-Version;
b=BrujPDYL7R3/4yVpvjl24jk6fjbYMf0WVuFVca7q5RHg0ELTyYAoLWI3++oTwqNhYa4z3D+s3nzn64gyPQn0xN71sTP5WFO2sa95AHYbPTEcNFDBdDdiaN5GYLFrfiIg/TDh0LbBauIDnB0qj9OJe2F+sASgQ7wrvxuFBQWpLmI=
ARC-Authentication-Results: i=2; server2.sourceware.org
X-CSE-ConnectionGUID: Y5WvSR5GQv6pRakAWzffww==
X-CSE-MsgGUID: 2mh1LmyYQzeZ2XMnivWiMA==
X-SBRS-Extended: Low
X-IronPortListener: ces-out
X-IronPort-AV: E=Sophos;i="6.06,162,1705381200"; d="scan'208";a="420646074"
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none;
b=Bvs8e8GcR4GKQ71r+xbNY5LV9xoAlpUCXlH/EV0YyU9pNwxgtCcKQ59vLJjRp5aoGQ0ya48LiJ9jZp/A3Yl82t2s7KnXX57/NulZO32/+h9LIqFcbU2xN9HZd8forEPsF68vU8YcAuRZdQ6wgGo9jkAhHhZ+jnbhAo0RnUm+nO2ftlirxNceNyns+yXUBAySyWSogKiK4sAZoO1cFzUys360+gxeYPMkzp6iRnBFv/m/x0uHivJo4kP1DowTZeZr2QB+W8970JknjFvIFGRb4qhXIyisXHcpmN2JXySGB66luFN57bMEltVqbI6xCZs4IoqxPfy5CyIsM7zg+QtSJQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
s=arcselector9901;
h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
bh=m7cj36r17CdFd762Rh6YIP2eHsGnx0JsgMjXfGcdtvU=;
b=FKNHLlaagcyMBiPp0c2EnYQdxqC/3wC+V5JHguIwnPByVJp75m3smhGpxOeZ6ebDwPuzFammhZkCZpaXB4qGjkvri4NX0Xjz64DRkAI1lMT2pEtzelMD73KUSkT1dHig/xywzomG7LeeR+V5YEEVOl4UjXLC5GbyrDx1yaDIvrQtVqHR5btU4Rv+9yT8MIXwvsa4qIkTtYHUKqPLn4SnGz1wRC6WJbQVagluMuvoxulDeUaBpQweLdz7fesEVWix3oOi7/nDy8MCfSLuOwkMUEXF4DjIjFFoXRpQt9XD0V0pvhzYbj9ctwPwy+/HClG6j1DGPSDEL16cB5HGjE1+7Q==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
smtp.mailfrom=ncbi.nlm.nih.gov; dmarc=pass action=none
header.from=ncbi.nlm.nih.gov; dkim=pass header.d=ncbi.nlm.nih.gov; arc=none
To: "jhg AT acm DOT org" <jhg AT acm DOT org>, "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
CC: Jim Garrison <jhg AT jhmg DOT net>
Subject: RE: [EXTERNAL] Re: Win 11 Cygwin dns-utils "dig" and "host": Option
-6 causes command to timeout
Thread-Topic: [EXTERNAL] Re: Win 11 Cygwin dns-utils "dig" and "host": Option
-6 causes command to timeout
Thread-Index: AQHaX6uQPWElfnvch0SejVQdiqeSM7ELsUyAgAAaISA=
Date: Thu, 15 Feb 2024 19:40:06 +0000
Deferred-Delivery: Thu, 15 Feb 2024 19:39:44 +0000
Message-ID: <DM8PR09MB7095DB43FE40F81A176B8F3EA54D2@DM8PR09MB7095.namprd09.prod.outlook.com>
References: <00209ed4-b4a3-4125-9a8a-32ea0fcefc7d AT jhmg DOT net>
<c874178f-dc16-4725-94e5-5a92f98e424e AT SystematicSW DOT ab DOT ca>
<02234806-fd8b-4a4f-885f-c6d294603c83 AT jhmg DOT net>
In-Reply-To: <02234806-fd8b-4a4f-885f-c6d294603c83@jhmg.net>
Accept-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: DM8PR09MB7095:EE_|PH8PR09MB9881:EE_
x-ms-office365-filtering-correlation-id: 384b1ccb-cdb8-449d-2631-08dc2e5df16b
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: q0TmJuQVYCbZgr31Y376CZhznXPE6nEPJ3TzRoQVphFI0z63XDNWV3Ikl4AgEhR5Lo1Re8H9cubDoh2Mss+uYuPcObWXNa9Ai5uVAKS/Kbh57mcdMDOhOld+TlwReWuM2WNm2/nAckw08bKeZIaSYWgDZuEhuEyOY8RdKF0eanCOPdYF0s5qXnjAF3RkZncbl+A8GkVwZ61vteBqR9Jy3kMqnXQif9K3xRHkA58XgesSlCm4iIhRzx7ohqz3jXKvsTnbaaOvEr1BtlEZCOeZfm8aEQfc4C7GbSH6TkEWQd8WA6v/COVr5B3uIj1U+HG4BHEfiVy8g87/Wwlaqwc/7AWC7czfA2kULaNgQ5//7jfnTM6dQjuaTX3g6+I1X5OstErxHXFgA4lwN2pavsihZpkH3aoWEMydJAwUHU9CvnEGZZUjAY3nxJYmZiQUY+HY0+BWgkT4+FFmyQZluLjvX7YNjyZ/gu9oElkBQ31cST/Io1dpgR4Rz+QAoraNvt7hyk9u5y/NcputPMC5LVqcc5raN3quBI3i5o31/2t4GT8A12A6Mb9zK2pbeLBpB7AJVY4vUakrpETJYUy55gazab941yFoI9PZctgaziHPwPZZKKSFOvEWv1SNDiJD+aXm
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:;
IPV:NLI; SFV:NSPM; H:DM8PR09MB7095.namprd09.prod.outlook.com; PTR:; CAT:NONE;
SFS:(13230031)(366004)(230922051799003)(186009)(451199024)(1800799012)(4744005)(2906002)(55016003)(5660300002)(6666004)(110136005)(86362001)(4326008)(122000001)(38100700002)(498600001)(71200400001)(66446008)(76116006)(64756008)(8676002)(66556008)(7696005)(66946007)(9686003)(8936002)(66476007)(6506007)(52536014)(83380400001)(38070700009)(26005)(33656002);
DIR:OUT; SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?//zKuC+DTEuVL6Ui2/qrKC92EgZos/igOaO6ytr1igVOEV8r/qP1zwPCXVQl?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a6ytFla32ILWcn8/jDDMSmLyPuES+10biwBebScLbbXl/?=
=?us-ascii?Q?s92n2UiRz0Wivw3h/8mVZb8IDoDEvmZSZEiVRMicmDJkVy9OQeE8iWjKpGVX?=
=?us-ascii?Q?rXSQpEfZegzGnIc2ZxWuRnpzH7oVfjt7glheOsQ2mVJvBQfhzdcKxC7I9XL4?=
=?us-ascii?Q?wIfcledM+Mnjp9/Xvsjv1dqQM0vFdH0/tnxUT/0MuFqIfAQR/V5fCV4NO93V?=
=?us-ascii?Q?xBKaFp8H3jz5UqymAMXRZ0QURNgLksB/h+BGo8Cnn3FhrSN6vH/ef9lw5L3T?=
=?us-ascii?Q?J5pfldJY+p/j7aefjcSeqAHRZSZGNoyLb4/Hyp8bxrYKMdcXwSKh2t+stOXe?=
=?us-ascii?Q?0s9xtDwjGCwuzk9xkUlDuLNK3COZiXbt0f6ytEPwXpC7v508efvDPItz2rRu?=
=?us-ascii?Q?VAQ+7yUIFjgjx0HnfsRIaj9MBofkT5Q5zmS/801wiBGLQNFk5LjXXqxmsZfr?=
=?us-ascii?Q?+ZMcs7733FFxMi0EFxV7rIrZtuCye4T/nDMsDm/NgNL/xThf+XNSmTdmIYdS?=
=?us-ascii?Q?1dqzLcfRMIkENaRAiC3qapRwXRoHTYhG5xQ7sqK4MOxH2LEQy5vp986RuwXJ?=
=?us-ascii?Q?JRyfF/PVegy227gYJRYu/h8QK1/KHynnYPvlHjPWOeKfYWiJvv1Pp/L5nk8l?=
=?us-ascii?Q?rGj3bwZIYroiPspUH08=3D?=
MIME-Version: 1.0
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1
X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: sY3dxa9YxkGAWDKlzYtUUOBH7ti14YCA7OMdkd/FVDQZIlltufFgB4OfM6dnz5B8x0T5E4r1gD98lMn7VmA2vbELKzdrH6mp4ooLGk69hDk7B1A5TS1jCKcGrfKYlUQImMd7KNHn/RFtw0Q0Ok2UrguGkRsh8Zpv0Yq5Ss8eOLQZlyhTjVFVBc2GmhiAGbopotKz8OhQwO0k5huaKLsI1njpNtuYoMJq99Y+wL12i4bn+Cm1MrRZjxyK76XSkxv96oxItfQSQjbyf40MP5oTxnhm8lnWGv9llU19kfok6pAKoqY0WudKW8b+CIdxnGsiDe5BKqBnIlBvU7/5R936/5+tj4DKF72SZJAqAyXIRU/X6XXIfQc4lzFiXL9EhLgM9YSeqiq0agZIWfUA0s02hF33g4CUM+1ccbKaZgYR8pdxeL1J2BE5oJk2s8GHYfjkz6EQ1q6tNg6d+T+HaAWWtClChpdB/f/3vnyrXrymWLjeVS4UpnVdql1ZUwYO10tga9jgUGjzSlBAu07b9kVT3IXAozFm35YCmnuNPhCYbLH8Y7RaOfA8IRBht91nq5fC9bfBVd14AMiocU+P8I9ER5kU7F+n7hAv98MRxoSRUFaAi/hIIpW7Ta/EY8wPUJDbBBNxb77cE6Pzzclu0DiQaibMq5dOf2NqSinDkJxJ/V1OhoOz66sNTTMOBV8vbk9H
X-OriginatorOrg: ncbi.nlm.nih.gov
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: DM8PR09MB7095.namprd09.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 384b1ccb-cdb8-449d-2631-08dc2e5df16b
X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Feb 2024 19:40:19.6465 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 14b77578-9773-42d5-8507-251ca2dc2b06
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH8PR09MB9881
X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_EF, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE,
T_SPF_HELO_PERMERROR autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: "Lavrentiev, Anton \(NIH/NLM/NCBI\) \[C\] via Cygwin" <cygwin AT cygwin DOT com>
Reply-To: "Lavrentiev, Anton \(NIH/NLM/NCBI\) \[C\]" <lavr AT ncbi DOT nlm DOT nih DOT gov>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

> Maybe Cygwin should just ask Windows for the name servers?

Cygwin does ask Windows, by default, when gethostbyname() or getnameinfo() are used (which most applications do).
The lookup does not depend on /etc/resolv.conf unless you configured it to do so in "options" in there.
(That would be "options osquery".)  So generally, it's Windows which actually sends a DNS request
and processes the result back (Cygwin then uses that information).

"host" and "dig" are special beasts, in that respect, as they don't use the Windows DNS query API
but form and send DNS requests on their own, which is why they need a properly configured
/etc/resolv.conf file, to know what servers to use.

HTH,

Anton Lavrentiev
Contractor NIH/NLM/NCBI


-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019