mailing list of musl libc
 help / color / mirror / code / Atom feed
From: "Ayush Agarwal" <ayush@ayushnix.com>
To: musl@lists.openwall.com
Subject: [musl] questions about musl DNS resolver
Date: Sat, 04 Nov 2023 12:12:58 +0530	[thread overview]
Message-ID: <e1d7b3a2-334d-4bb7-9386-68e2c4013729@app.fastmail.com> (raw)

Hi,

I was reading about how DNS works in Linux distributions and I noticed
some differences in the way libc resolvers work in glibc and in musl.
I hope it's okay if I ask a few (potentially stupid) questions?

1. Why not offer a different man page on musl distributions for pages
like resolv.conf(5) and resolver(3) considering how their
implementation details and behavior are different from glibc? Is not
offering them intentional or does it require someone to step up and
write the documentation?

2. Which options in the resolv.conf(5) man page are supported by musl?
I know "search" and "nameserver" are supported but what about
"options" like "ndots", "edns0", "use-vc", "trust-ad"?

3. It seems that version 1.2.1 added support for DNSSEC queries but
how do I confirm if DNSSEC queries are sent and received with musl? Do
I need to use the "option edns0 trust-ad" directive in resolv.conf for
it work? The usual suspects like drill and kdig seem to use their own
resolver.

4. The musl version 1.2.4 added TCP fallback to DNS. Is this fallback
intended to work automatically when the size of a DNS query is large
or does it need any configuration?

Thanks,
Ayush

             reply	other threads:[~2023-11-04  6:44 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-04  6:42 Ayush Agarwal [this message]
2023-11-04 10:49 ` Markus Wichmann
2023-11-06  5:23   ` Ayush Agarwal
2023-11-04 15:41 ` Rich Felker
2023-11-06  5:29   ` Ayush Agarwal

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=e1d7b3a2-334d-4bb7-9386-68e2c4013729@app.fastmail.com \
    --to=ayush@ayushnix.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).