I noticed that DNS resolution to my haiku install is not working. I can ping haiku by IP, but not its hostname or fqdn. I checked my router, arp, etc and arp shows my install with the mac address, etc. but no hostname.
I checked my static IP settings and have hostname, dns, and domain are set.
If you are talking about hostname.local that is done with multicast DNS, and we are lacking support for it. but you should be able to “just” add a dns entry to your dns server in your local network that resolves to your IP
We have partial support for mDNS, via mdnsresponder (at least it worked last time I’ve tried). (setup is a bit too “manual” still, idea was adding a module so one could more easily manage services via Network preflet, but… not there yet).
It allows to, say, advertize your sshd from Haiku, so you can connect from other machines via hostname, but doing it the other way around requires more features/fixes in Haiku’s netresolver.
Thanks! So its a deeper issue than I was thinking hah.
I did find an existing ticket that seems related. https://dev.haiku-os.org/ticket/1042
Were any of your changes upstreamed into Haiku from the work you did?
The mdnsresponder package is on depot for x86-64, x86-32, and riscv64 apparently (!!!). Unsure if they still work OK on beta6. That part didn’t required changes on Haiku, and I think keeping it on HaikuPorts makes sense.
My last post in that threads mentions some tests I’ve done after @phoudoin did some work on Haiku’s side around nssswitch.conf files usage, but it didn’t changed much for my poor attempts.
That, plus the fact that I don’t really have a LAN since about 1.5/2 years ago (only connecting to internet via metered USB-tethering now ), means motivation from my side is a bit too low (just like my skills :-D).