Domain does not resolve to public IP

I tried the commands you mentioned:

  • dig +short “test.duckdns.org@resolver1.opendns.com |tail -1 (with my domain), gives me my public IP in return.
  • dig +short myip.opendns.com @resolver1.opendns.com |tail -1 doesn’t return anything, so there’s the problem.
    When I watch the console logs of the openhabian-config tool, I also see that “Obtaining public IP address…” returns blanc.
    Any idea why this is happening? Maybe a mistake in network interfaces file?
    TIA