Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Mon, 11 Dec 2023 19:47:36 -0100
From: Rafael Ávila de Espíndola <rafael@...indo.la>
To: musl@...ts.openwall.com
Subject: MDNS using avahi2dns

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.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.