unofficial mirror of libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: "Canto . via Libc-alpha" <libc-alpha@sourceware.org>
To: Florian Weimer <fweimer@redhat.com>
Cc: libc-alpha@sourceware.org
Subject: Re: [PATCH] resolv/res_query.c - do not append search paths if number of dots in query is greater or equals ndots
Date: Wed, 18 Mar 2020 23:06:07 +0100	[thread overview]
Message-ID: <CADk=2vZmbcYye=B8KOCYnhk799dcojgsxKt7S6W-gCFLgb6ovg@mail.gmail.com> (raw)
In-Reply-To: <87bls3gg7r.fsf@oldenburg2.str.redhat.com>

Florian,

My sincere apologies for late reply. I've somehow missed your email.
I hope that not many people use this as a feature, it's very misleading.

I'll be more than happy to introduce this as an option.
If you have any recommendations, please let me know, I'll implement
them from the very start.

Thanks,
Oskar


pt., 20 gru 2019 o 16:38 Florian Weimer <fweimer@redhat.com> napisał(a):
>
> * Canto .:
>
> > When NXDomain response is received, resolver appends original query
> > with search path and retries. It happens even if original query has
> > more dots than ndots.
>
> > It's causing unnecessary and excessive traffic to DNS servers,
> > especially with environments based on DNS service discovery, where
> > users often query for non-existent fqdns to local DNS server.
>
> I'm worried that many users depend on this behavior.  For example, the
> Kubernetes documentation seems to suggest that KUBERNETES.DEFAULT is
> searched along the search path even with the default ndots:1 setting.
>
> The current stub resolver behavior makes it impossible to configure the
> system in such a way that it follows the ICANN recommendations on search
> list processing (bug 25163):
>
>   <https://www.icann.org/en/groups/ssac/documents/sac-064-en.pdf>
>
> I believe your patch would bring us closer to the recommended
> single-label/multi-label split (search processing vs no search
> processing).  But I don't think it's possible to get back the
> old/current behavior through configuration, so this is not something we
> can adopt as-is, sorry.
>
> Do you want to continue working on this, maybe introducing a new
> resolver option?  Such a change would be slightly larger and likely
> require copyright assignment to the FSF.
>
> Thanks,
> Florian
>


-- 

Best regards,
Oskar.

      reply	other threads:[~2020-03-18 22:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-20 19:49 [PATCH] resolv/res_query.c - do not append search paths if number of dots in query is greater or equals ndots Canto .
2019-12-09 19:09 ` Canto .
2019-12-20 15:38 ` Florian Weimer
2020-03-18 22:06   ` Canto . via Libc-alpha [this message]

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

  List information: https://www.gnu.org/software/libc/involved.html

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

  git send-email \
    --in-reply-to='CADk=2vZmbcYye=B8KOCYnhk799dcojgsxKt7S6W-gCFLgb6ovg@mail.gmail.com' \
    --to=libc-alpha@sourceware.org \
    --cc=cantorek@gmail.com \
    --cc=fweimer@redhat.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.
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 read-only IMAP folder(s) and NNTP newsgroup(s).