pikhq / musl-nscd

Musl-nscd is an implementation of the NSCD protocol, suitable for use with musl and with standard NSS modules
Other
46 stars 14 forks source link

DB_HOSTS support with files backend #37

Open Adphi opened 2 years ago

Adphi commented 2 years ago

First of all, thank you very much for your work on this project. Are there any plans to implement DB_HOSTS support and the 'files' backend?

ericonr commented 3 months ago

Hi @Adphi !

Quoting a response I gave in an email about mDNS, but which goes for all DB_HOSTS use cases:

About nss-mdns, I'm not sure that would be possible. musl itself does not query ncsd for DNS requests, because it's a complicated protocol, and it's simpler for them to perform a DNS request to a local resolver, which can be the one implementing mDNS.

What use case did you have in mind?

files backend is already implemented in musl itself, and is usually queried before the NSCD protocol is. What do you need it for?