mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rob de Wit <rob.dewit@coosto.com>
Cc: musl@lists.openwall.com
Subject: Re: [musl] Clarification on the NOERROR resolving choices
Date: Tue, 27 Jun 2023 17:05:13 +0200	[thread overview]
Message-ID: <CAPBMcbu3Wqah0XCabjCdzCjyyVS6NkLAPGJ4QWA7N4CkJE13ag@mail.gmail.com> (raw)
In-Reply-To: <20230627143604.GT4163@brightrain.aerifal.cx>

[-- Attachment #1: Type: text/plain, Size: 925 bytes --]

Op di 27 jun 2023 om 16:36 schreef Rich Felker <dalias@libc.org>:

>
> It's not a matter of whether it's something other than A or AAAA; just
> that you have a wildcard in your search domain path. This will never
> give acceptable results unless your goal is to intercept all lookups
> and have them return the same thing (either NODATA or a fixed
> address).
>
> Rich
>

Thanks for the explanation and quick response.

I'm not sure I agree that NOERROR is a valid response if some other record
is queried for. I mean most other implentations do the other thing so even
if this is the correct way, a lot of compatibility is broken, but that is
up to you guys.

This last bit really shows where we went wrong. I'll remember not to use a
wildcard without a proper subdomain (lightly). If I had a wildcard A in the
domain (without subdomain) it would have broken even more by resulting in
the same address for every host tried.

[-- Attachment #2: Type: text/html, Size: 1394 bytes --]

  reply	other threads:[~2023-06-27 15:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-27 14:12 Rob de Wit
2023-06-27 14:36 ` Rich Felker
2023-06-27 15:05   ` Rob de Wit [this message]
2023-06-27 15:22     ` Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPBMcbu3Wqah0XCabjCdzCjyyVS6NkLAPGJ4QWA7N4CkJE13ag@mail.gmail.com \
    --to=rob.dewit@coosto.com \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).