From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 19591 invoked from network); 24 Jun 2022 15:11:04 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 24 Jun 2022 15:11:04 -0000 Received: (qmail 24126 invoked by uid 550); 24 Jun 2022 15:11:02 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 24094 invoked from network); 24 Jun 2022 15:11:01 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=kuIKtXVbsjfwk6HlzWrdtTli3HdcoxAEngB6bTebY9Q=; b=fX+g02/icwk0Kw+7xuqB7KyVieIyLwPOPS48E4mNOBPvinjNYxgdBKJ4FjWmaNhZpI UGefNcYJsVcBV0WASqcIO8yqZv4ZxXE3W1Bl0PWKiW8Yymd2jRtKUoW5RhjIM/QMtibt ULas7mByZmR+vMzjGXL3gqPSoqNyLb6Ywdkjz01SKQ43AbKJaPZ5rFXPGZzWqtnUz9s1 OhExWLsHjGwUUhTOne36AgE/KS+jJ7C7p4Ljdjsj6edcS2kusXtwmp9fdE5fksWEl9qc YfhaoxKM8ok62bbfcCMlvY1sGVfM6uExuFQLqIvuNHoAPrDZcigAvMg5Lf1fmDwAF3wF IUSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to:cc:content-transfer-encoding; bh=kuIKtXVbsjfwk6HlzWrdtTli3HdcoxAEngB6bTebY9Q=; b=PFCHrczgJ+KFH/35kBz4cfh7122l9XMJffyprT2VzRTY9putIiv+5FS9W6gPPpFrCV bFGdWQu6y3V3AsHX12zSWAcdthSzaGgj8+Ql9OmAkBs7UdrvedlFtlmWhcFmM/OxMDVy t99z1LHZtENzMh/Qf51rmU7ogI1dXldgoBVV20Z3KJTqIxE9idZEzAx729VMs5ZtugND BRYeTol4iTqObG71sw2mpqmspkDBjy/lCJHFDu4XUzS73Yu9r5dk0PhsQbs1FBBQpDYI 0h5EDpQh1/XoRFT3BD1iFlIj04RAXj5LCLLXwu0PpuDtvZ6bS2kO1hcfwjai6y6H86Yw gr6w== X-Gm-Message-State: AJIora/eMx5wMmHNnk6bpl1SUAgo7ds3iZ+6l4O3/0TE38gGvnT5+AzW VhTLOVIeckeHM+q3j7JaTDlujPkPO7ZKH/hmldOHuTzfojc= X-Google-Smtp-Source: AGRyM1shQaJbbyp1c+Ab62VW8C9IxsaUA14f0xCqLPygPpQb6irNlgnchB9q46WbO9ImyJpvc/EipG3BDVVUwd/ZkQU= X-Received: by 2002:aa7:988c:0:b0:525:154a:27b0 with SMTP id r12-20020aa7988c000000b00525154a27b0mr32629876pfl.17.1656083449162; Fri, 24 Jun 2022 08:10:49 -0700 (PDT) MIME-Version: 1.0 References: <20220624145936.GP7074@brightrain.aerifal.cx> In-Reply-To: <20220624145936.GP7074@brightrain.aerifal.cx> From: Jeffrey Walton Date: Fri, 24 Jun 2022 11:10:37 -0400 Message-ID: To: musl@lists.openwall.com Cc: Markus Geiger Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [musl] [BUG] Non-FQDN domain resolving failure on musl-1.2.x On Fri, Jun 24, 2022 at 10:59 AM Rich Felker wrote: > > On Fri, Jun 24, 2022 at 12:28:24PM +0200, Markus Geiger wrote: > > Hej! > > > > First, I love MUSL (and alpine linux). Great project! > > > > We encountered a bug in our CI pipeline using alpine images in conjunct= ion > > with AWS DNS servers - and it seems to be related to MUSL: > > > > $ curl -fsSL https://slack.com > > curl: (6) Could not resolve host: slack.com > > > > Usually that should return some HTML. It seems to affect only non-FQDN > > domains. As a workaround we use now full FQDN api.slack.com. But there = is a > > bug in resolvement! It seems if an AAAA domain is queried over an IPV4 > > IP/DNS and doesn=E2=80=99t not return a record the overall resolvement = of the > > domain fails. > > That's not non-FQDN. Non-FQDN would be "api" as short for > api.slack.com. slack.com is just the apex of a zone, but there's > nothing special about that for resolving; it's likely just a > difference in the records for it vs api, or something fishy the > recursive nameserver you're using is doing... +1. A FQDN ends in '.' (dot). The dot specifies the root of the DNS tree. 'slack.com.' is fully qualified, but 'slack.com' is not. If you are configured to search with domain suffixes, 'slack.com' could resolve to 'slack.com.home.pvt' because it is not fully qualified. Jeff