Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users

    Hub LR DHCP DNS config stopped working?

    General Discussion
    2
    3
    252
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • sakari.bergen
      sakari.bergen last edited by

      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 a DnsResolveFailed 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 1 Reply Last reply Reply Quote 0
      • sakari.bergen
        sakari.bergen @Emil last edited by

        @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.

        1 Reply Last reply Reply Quote 0
        • Emil
          Emil FlicTeam @sakari.bergen last edited by Emil

          @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.

          sakari.bergen 1 Reply Last reply Reply Quote 0
          • First post
            Last post