X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 68641386D604 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1708027283; bh=tf2RI50/KLpXUdCaNOLRRdu8kBmiiwAybu2xYBgzWqQ=; 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=xHV/Orq1RSEIdOK1Y1ZJhtikwUz/oMSYrRTBQUmIfLy4vT6PhTF1OmMZhcEPe52OH WdePZnXUvfD6O3sfDxddKD5ZIirq+s2WD+gShaXo2/6R5mxfNqhstUEFLe0qUkEIbm QoAuv8f7EQIcSyhQvX/HJGEojk8UC4JqF03GE2L8= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 94915386D61E ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 94915386D61E ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1708027224; cv=pass; b=rmUy0qxFBic5irUJHE+vgE3/wXV4Vw92n+5nwNZHHX+Hll4SZjucempPoPgwaS8cWktFgElRtSIcO/m+B/LRyddcJkixeDMxKRXTHvV9p7OQbcqGU8iNVWgxyRn6vRSwk3pBBF6z8aRrdhPtYaPOApln8p3ggrxjIBxZqe0uZlI= ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1708027224; c=relaxed/simple; bh=4PL7xWhvC3TSpaS6vQlB2sXkUpW2Ay8xAt5FStQjrLs=; h=DKIM-Signature:DKIM-Signature:From:To:Subject:Date:Message-ID: MIME-Version; b=QWjti51ADU8X7JIh7+7qJIZCQE24qAY3+BwPNBDq/9lLrX429QST0ZdOlXCFlM1CWIkysFN2Xn/hdKt4URRBrQ+gjfY1qHTMROAn5Gf5DVz2dN89aj6ptpTYJ1lrbUEeVrXmInP/BGGqPBhxSZ5zYz6Q1MJ4tOJD/NulR5qfAOY= ARC-Authentication-Results: i=2; server2.sourceware.org X-CSE-ConnectionGUID: a6YWzED9QzGykMUVyrn6rQ== X-CSE-MsgGUID: w90SbPbhTzCotlCD+kDzPg== X-SBRS-Extended: Low X-IronPortListener: ces-out X-IronPort-AV: E=Sophos;i="6.06,162,1705381200"; d="scan'208";a="420652204" ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JJdbhqsxt3XE0U7sap8vnQz2NGl1u82G/+sBOwLicf0EDyqUO4TVPCT9EANKtmhtqB30I3t4XlzkL9kHT0zpwY+gAwQoG86pQbI+Zjr92J+B4fd46hFwiPHqEBQRIIfJR4S6mxn4zEa/nREHNF/X8Ods8T4xPzOkZOYiUi6C7uuDwoeWb1fijJ7WZQ+sOgppsAzAVej/BGfgvv1VNNzaT/KEXf2Sc/1RJuxh2kztZv0UyHCEPqspJVeHVLFocUfEotSkCCVNAudLK0uA5angrVy6kY3VgiPqoEi5qWGY6fI6YazYUvop/+5ojLwHZM5oXFcCr8/LYPXBzblL5uXovA== 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=T5GXsiDBRTDUl5ovwFjdjzqXdWxVM2lKCv0VwHg1UpA=; b=iwNs3qnfvM3e+pxxruByhS4mNHQ7hq4jf2bcacWs6gC9h1ah89cAeUh+sApwzka8IaXqucIZQBNXIaxfNq/wkfOJJIJCrvQ/nCeq8p2XYeXr93UP8BsSAoc0o40vlCa+XSB0Sl+k/B3dNexjlJPk8rIVO+M3YZ5xZtnXau32KkKbAtM06f3jVLb0sQc4dXbTFh4goNi0d5DkEgx9d9oOfB4cJcBq2XjQ2k96TUtsut6zg4/gAZEs/LU876bANZgjGIz6SAfENtaUwgKEgDdg7PnGrlq0Z/i/iGq1OouvXBvQbENcoyThYqXfXsWIYhmVWT5p8nobeapwNijvVQ93Uw== 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" , "cygwin AT cygwin DOT com" CC: Jim Garrison 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: AQHaX6uQPWElfnvch0SejVQdiqeSM7ELsUyAgAAaISCAAAT+kA== Date: Thu, 15 Feb 2024 20:00:07 +0000 Deferred-Delivery: Thu, 15 Feb 2024 19:59:56 +0000 Message-ID: References: <00209ed4-b4a3-4125-9a8a-32ea0fcefc7d AT jhmg DOT net> <02234806-fd8b-4a4f-885f-c6d294603c83 AT jhmg DOT net> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: DM8PR09MB7095:EE_|SJ0PR09MB9333:EE_ x-ms-office365-filtering-correlation-id: baa6f2e4-0dcd-4522-591e-08dc2e60bcb8 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 2EZ6YiLYFiUv0i1DKUWoWgIyBSdI7VOQzfyOl7L17iFP7tyQU1hLSy0r3u95JsO88J7FaupwAC0zUOh8AezJQZuqd62whIy8rqXsQHXTPTNUU2n5I5syfwuo5DKYuc3sld2SWt3zU0K2JlvbYHKtIj6NRAFTy9qEaERH3STEcWB96Kq0HOouA52O/y/Uz5K2ydizEo+yY/vSkMZuFd1odEOsSZZso1qO/WII3rXjd9pIq//z2fO0Gy1nKLhLLRzPGO+w7hh+QLx5qA8zxtDEJ4hS3k+PcAuQqQJeu8tR6Pci7H2lURj/+GJlR65ocwsjFXK24Ay5gmudBZRxIi94qkWzPe6gn2InQH7Opk/X+rp8MzBDheNjXERuywuu48yDBHxvjMwudXebX3roQZszuL2HU6ybTV8S7iPpe8r2m2LWp3/1Rza02QYGMbKJNhyUAvFmweU68gChxyFO3PEsqJuE0OAu2XwT7KarX3S3/3bq0Ap9qpYvxnf0cwrb1Ov9qSsJw90VlxsH1S6RgKlUNkrNZhwORXsMi79Bul1MvROU2bX27MZwA47oQLWinK6KdkoegGh4t8n9aZlEfoiPVZD9g1P2pMvi+QNKq/Yyy6o= 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)(66556008)(498600001)(71200400001)(66446008)(76116006)(64756008)(8676002)(7696005)(66946007)(8936002)(9686003)(6506007)(52536014)(66476007)(966005)(2940100002)(38070700009)(26005)(33656002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?LquJqGTJje24rvauFEC+mkiwHsQGn7WeMyQS56avogt1OuDYEKQUTKJVoQ/y?= =?us-ascii?Q?0zqNZqcFDyDv/rpBlBFNNTpSvMJ6xbp4brdZ8EA4Bn+Eq1FeYycGqb1o22m1?= =?us-ascii?Q?rudAydTRQllexCFcfglJq+n+b72vHq+RzB1GQ4SwEXyZzUbpZetPPpvGVF4M?= =?us-ascii?Q?JTOplo4RaOL2WC+ohmNd7mFJ3D+DOjoDoY911PrtPn581lIBBk0wbEJ/KIYi?= =?us-ascii?Q?FuZMf4HEIE31oWBDMEfd2vV6Ws3DnFmAlOm+MiQMtYAttNdVr5NP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3GOrfZCFtsqBAt4bzrJp3ECjr8fGGyy6NR?= =?us-ascii?Q?TBoWE0Kanpi5YLcQRlwNgwWT1262jp8l/OYQ+9zEmXGMQPMZ8HQ4piVDZ1fi?= =?us-ascii?Q?8aleUiLyZ1aMGknfkokmCT/8MYXrm+mw5jS2WQD2FcdNfdy5U6h9qyKbp5A9?= =?us-ascii?Q?Xh3HCYODvXyHrfeA4tOnRILiX3i9nqKsmorw7XGvp2XO2hYhdzHxFuHNbnuS?= =?us-ascii?Q?Ebn4r8HC9/4PXK6R3KESMIhGUL0gB9DAEK7dn9v8/865UZIBOY+KO5slsvTs?= =?us-ascii?Q?OzsNW2XflOju/NqXj05jsSE0vT25eiR0W0bF/WYMwINOKKEaRjQRlOWGEV6i?= =?us-ascii?Q?71CU9Uzf5zxbRN0TmIN9HG4sx88gJMkoGJ80De1t731dEu5MttOdU9jmpefk?= =?us-ascii?Q?baffWNstOvRSt+Zh1i8=3D?= MIME-Version: 1.0 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-ExternalHop-MessageData-0: 86NLTT7P9402B9VeuufxveglbPSH0XzHTJc4d2Cbv9CCbPLZfX51L0aZYtNq2OqKZwkp8QVPPUKnqMo15/BdWIRCRpO14/DNtCRMpSocTcbpxYz1Na9I5lmvgkvU4N1sC2bNUcD1IaBK0vemkFzv0qYdNJKkVBkMblSIm3ba7tPLWO0l8622acN0awLAaMwJjK2Kq8LnZDTLzaBqtSgDWS7Z0+FNE9lYzLyP87ow1ciRkWNgHqvJYGGeFN+1XeXvM16Kz4JPZg+NMe2ocWSFjo27MYe5gdz/IB+BmzLNrSqf6rgdLjWoP8BWffuo2VtUb8YjGqlX/q86pSktRg+unVCbGIFcHEFkFyW+tXwtKWhNvubtjCeXzvA71iGGLySc/d7cBwv4V6XcS5tAdAA+73mulB7+aZpdfSN2i6UrhOdSWVJpTgOJjyAW7lwfp+a1PiVrkXsTPKzUXmZmCo7ZKwSFfbOIUvFtaOO61+NzYR0tR3GTd/M0R4wVAVLDNScsXXHcs2D6E/6MldjezXfIoAoo/cUu9ks2iZ+CY+cBqksaX0aklFssRcGunkSltma/8TcW1+nu+Uy+vLhKYIDydmcnDK4B+d77oJkd2knHEWOC2RFa6YxA7tVmV0PlqbLbxkwjePSvhggi1rcuKFfCsBagGU7ZFepLV5LREoEMxPFWN8WgfIKNg/kjKw1EA3yn 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: baa6f2e4-0dcd-4522-591e-08dc2e60bcb8 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Feb 2024 20:00:19.7236 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 14b77578-9773-42d5-8507-251ca2dc2b06 X-MS-Exchange-Transport-CrossTenantHeadersStamped: SJ0PR09MB9333 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 List-Archive: List-Post: List-Help: List-Subscribe: , From: "Lavrentiev, Anton \(NIH/NLM/NCBI\) \[C\] via Cygwin" Reply-To: "Lavrentiev, Anton \(NIH/NLM/NCBI\) \[C\]" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" Correction: > (That would be "options osquery".) Sorry, I have forgotten a few pieces since last time I worked with that code. So in the absence of "/etc/resolv.conf", Cygwin uses OS (Windows DNS Query) API. If /etc/resolv.conf is present, then "options osquery" tells Cygwin to use the Windows DNS API (and conversely, if that option is not there, Cygwin resolver sends and processes DNS queries on its own). The code can be looked at here: https://www.cygwin.com/cgit/newlib-cygwin/tree/winsup/cygwin/libc/minires.c In particular, you can use the following options to debug what Cygwin is doing in the resolver: options debug # Cygwin own resolver or options debug osquery # Cygwin piggy-backs on Windows And that's how it is done: https://www.cygwin.com/cgit/newlib-cygwin/tree/winsup/cygwin/libc/minires-os-if.c 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