Hub LR DHCP DNS config stopped working?
-
I woke up today to my Flic setup not working. After quite a bit of debugging, I found out that the issue seems to be with DNS: I have a local DSN configured over DHCP, which has some
*.home.local
addresses set up for the local services, and I'm triggering HTTP requests to a local service from my buttons. If I try executing a web request in the SDK to one of those addresses, I get aDnsResolveFailed
error, while if I use the IP address directly, it works.This change happened last night, while I was asleep. Could it be some update with a regression? My Hub version is 4.2.4.
I also did try the good old rebooting of both the Hub and my router, to no avail.
-
@Emil sorry, that was a pre-coffee morning typo, I meant DNS, not DSN.
I didn't know
.local
was reserved for mDNS only, as it has been working fine so far. Thanks! I should be able to solve the issue from here. -
@sakari-bergen not sure exactly what you mean with "local DSN configured over DHCP". Do you mean DNS?
The
.local
domain is reserved for link local host names over mDNS (https://datatracker.ietf.org/doc/html/rfc6762, section 3, fourth paragraph) and can therefore not be set up by a regular DNS server. The new hub firmware, compared to the old firmware, now correctly uses mDNS for.local
domains. This means you can configure any device on your network with such a host name and then directly use it from the Flic hub. No need to set up a DNS server.If you still want to use a DNS server, you must choose domain names that do not end with
.local
, since requests for.local
domains are instead sent over mDNS.