Machinename.local not working (from one day to another)
-
Thats a bit strange then, my money would be on client side trouble if you didn't change the firmware. Try wireshark to log the traffic and see if you can see the request from your computer and response from the duet?
I've more or less given up on bonjour and made sure I have a router that can do proper dhcp/dns.
-
I have always found .local hit and miss with any device but my router names hosts it gives DHCP leases to .lan. So machinename.lan works for me and doesn't require anything on the client side.
-
I have a number of devices, beyond the Duet, that have mDNS (the open equivalent to Bonjour).
Windows machines trying to find "real" Bonjour machines, and/or mDNS machines, are very flakey. Apple machines, both osX and iOS, are close to perfect.
So... I quit using it in mixed environments.
P.S. Check out the Chrome store for a couple of plugins that will show all mDNS info for the machine on which Chrome is running. Very helpful, if someone does intend to continue to pursue this.
-
had to do some wiring to test against Duet2Maestro, maybe the windows command line tool that comes with Bonjour may kickstart things.
dns-sd -G v4 hostname
(at least forcing it to browse for _arduino_.tcp services seems to help platformIO with OTA stuff when it gets cranky. Seems solid on Linux, but Windows is a lottery).
@Danal which plugin? Searching for mDNS didn't seem to get any matches to what you describe
-
MDNS protocol is not currently supported on Duet Ethernet or Duet Maestro. It is supported on Duet WiFi.
-
Wow ... it seems like I found the issue. My machine name was (all the time when it was working and not working) e.g. xx-yy. Now I changed it to xxyy and not it is working like a charm again. Any ideas why this happens. There currently was a firefox update so maybe it has something to do with that
-
might have something to do with local search domain, but that would suggest mDNS never worked and your router is doing the DNS work
(nope, read that as xx.yy not xx-yy so that would not affect the search domain)
-
the entire mdns name resolving is very fragile and should not be relied upon.
i would suggest to see if your router is supported by openwrt and flash that. or consider replacing your router with one that supports alternative firmwares.
this has multible benefits.
you have a lot more configuration options
more secure than as it does get security patches.i personally run a small machine with a celeron (which uses 6 watts) as my router running ipfire.
the name resolution is done via dns, so for me it does not rely on mdns and it work even on machines that do not support mdns -
mikrotik routes have build in DNS server.
And they have a lot options more, good solution for some with doesn't like fiddling around with alternative firmware. The basic/normal models doesn't cost more then a regular good router. -
I would think its safe to say any consumer or nat capable router has built in dns server, what sets them aside is the dhcp and dns server talking to each other (or in the case of openwrt w/dnsmasq, being the same server daemon)