mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] MDNS using avahi2dns
@ 2023-12-11 20:47 Rafael Ávila de Espíndola
  2023-12-11 23:17 ` Rich Felker
  0 siblings, 1 reply; 3+ messages in thread
From: Rafael Ávila de Espíndola @ 2023-12-11 20:47 UTC (permalink / raw)
  To: musl

Hi,

I am trying to hack together
https://wiki.musl-libc.org/future-ideas.html#mDNS-and-alternate-hostname-database-backends.

The hard part is done by https://github.com/LouisBrunner/avahi2dns,
which will use avahi to resolve .local domains. With it running,
commands like

$ dig @192.168.1.1 printer0032DB24.local

will work.

In my laptop I was able to just have

nameserver 127.0.0.1
nameserver 196.168.1.1

in /etc/resolv.conf, but I realize now that it worked only because wifi
was relatively slow. On my desktop, using ethernet, the router answer
sometimes comes first and name resolution fails.

I will try setting up a local unbound next and configure it to forward
to avahi2dns for .local and the DHCP provided server for everything
else.

I just wanted to check if musl doesn't have the support to selectively
forward to different name servers.

Thanks,
Rafael

P.S.: I am not subscribed to the list.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-12-18 18:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-11 20:47 [musl] MDNS using avahi2dns Rafael Ávila de Espíndola
2023-12-11 23:17 ` Rich Felker
2023-12-17 21:11   ` Rafael Ávila de Espíndola

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).