DuckDNS from within local network

DuckDNS seem to to run smoothely now. I can access Hass.io via https from outside my own network.

Is it correct that i can’t access hass.io through domain xxxxx.duckdns.org?

I’m trying to do this to, and running in to the same issue. Is it possible to use the duckdns address in the local network?

hmm actually just figured out a way of doing it, I used the DNSmasq addon to hass.io
with this config

{
  "defaults": [
    "208.67.222.222",
    "208.67.220.220"
  ],
  "forwards": [],
  "hosts": [
    {
      "host": "xxx.duckdns.org",
      "ip": "192.168.5.8"
    }
  ]
}

Then set my router to forward DNS queries to my raspbery PI, and now it all works like I want it to. Mainly this was to let my cell phone always be querying the duckdns address so it work without regard to location.

I know this is a stale topic but hopefully some folks will find it useful. I was able to set up local access to Home Assistant via my DuckDNS URL using DNS Host Mapping in my router’s settings. This forwards requests for the DuckDNS URL to your local IP. It was super simple.

Find DNS Host Mapping in your router’s settings. I use a CenturyLink Zyxel 3000C modem/router.

  1. Enter the DuckDNS address (e.g., yourha.duckdns.org) in the DNS Host Name field.
  2. Enter the Home Assistant local IP address (e.g., 192.168.0.50) in the IP Address field.
  3. On my router, I selected Enable for the Support Domain Name setting.

You should now be able to access Home Assistant on your local network using yourha.duckdns.org:8123.

2 Likes

Thank bro, really help solve this headaches .

Unfortunately, this only worked for me briefly (a couple of weeks). I’m no longer able to access HA via the duckdns URL on my home network.