Re: How to properly set up OpenMDNS

2021-12-28 Thread Stuart Henderson
On 2021/12/28 14:56, Sven F. wrote:
> 
> 
> On Tue, Dec 28, 2021 at 2:07 PM Stuart Henderson <
> stu.li...@spacehopper.org> wrote:
> 
> On 2021-12-28, William Davis  wrote:
> > 1. I can't seem to resolve MDNS names from OpenBSD, though I can
> resolve
> > OpenBSD's name from another machine (e.g with ping or ssh)
> 
> OpenBSD doesn't suport this directly, you would need some kind of
> proxy that converts dns requests to mdns. Untested but they do
> exist (https://github.com/hardillb/dns-to-mdns,
> https://github.com/wisq/mdns-proxy).
> 
> > 2. I was trying to set up a LAN-only smtpd server on OpenBSD, but
> > sendmail on my mac doesn't seem to be able to resolve OpenBSD's
> name
> 
> I guess that sendmail is probably doing DNS lookups directly rather
> than hostname lookups so probably not converted to MDNS.
> 
> 
> 
> 
> wikipedia : ```implemented by the Apple Bonjour and open source Avahi 
> ```
> 
> Isn't this somewhat found in the samba packages ?
> I remember the dbus avahi bonjour stuff in there.
> 
> just my 2 cents.
> --
> --
> -
> Knowing is not enough; we must apply. Willing is not enough; we must do

No. The local name resolution that is part of Avahi is only for OS with
nsswitch.



Re: How to properly set up OpenMDNS

2021-12-28 Thread Claus Assmann
> > 2. I was trying to set up a LAN-only smtpd server on OpenBSD, but 
> > sendmail on my mac doesn't seem to be able to resolve OpenBSD's name

> I guess that sendmail is probably doing DNS lookups directly rather
> than hostname lookups so probably not converted to MDNS.

sendmail requires DNS for MX lookups (which can be disabled), but
otherwise it can be configured to use different services.

See
   2.5.  The Service Switch
in doc/op.*

-- 
Address is valid for this mailing list only, please do not reply
to that address, but to the list.



Re: How to properly set up OpenMDNS

2021-12-28 Thread Stuart Henderson
On 2021-12-28, William Davis  wrote:
> 1. I can't seem to resolve MDNS names from OpenBSD, though I can resolve 
> OpenBSD's name from another machine (e.g with ping or ssh)

OpenBSD doesn't suport this directly, you would need some kind of
proxy that converts dns requests to mdns. Untested but they do
exist (https://github.com/hardillb/dns-to-mdns,
https://github.com/wisq/mdns-proxy).

> 2. I was trying to set up a LAN-only smtpd server on OpenBSD, but 
> sendmail on my mac doesn't seem to be able to resolve OpenBSD's name

I guess that sendmail is probably doing DNS lookups directly rather
than hostname lookups so probably not converted to MDNS.