Resolving issues with DNS server on the same machine distributed over DHCP
See original GitHub issueHome Assistant Core release with the issue: > 104.3
Home Assistant release with the issue: >= 198
Operating environment (HassOS/Generic): Home Assistant (Hassio) Docker Install on Raspbian
Supervisor logs:
20-02-07 08:24:50 INFO (MainThread) [hassio.updater] Fetch update data from https://version.home-assistant.io/stable.json
20-02-07 08:24:55 WARNING (MainThread) [hassio.updater] Can't fetch versions from https://version.home-assistant.io/stable.json: Cannot connect to host version.home-assistant.io:443 ssl:None [Try again]`
20-02-07 08:16:07 ERROR (MainThread) [hassio.store.git] Can't update https://github.com/hassio-addons/repository repo: Cmd('git') failed due to: exit code(128)
cmdline: git fetch --depth=1 --update-shallow -v origin
stderr: 'fatal: unable to access 'https://github.com/hassio-addons/repository/': Could not resolve host: github.com'.
hassio_supervisor:
➜ ~ cat /etc/resolv.conf
search local.hass.io
nameserver 172.30.32.3
hassio_dns:
bash-5.0# cat /etc/resolv.conf
search fritz.box
nameserver 127.0.0.11
options ndots:0
Description of problem:
- Home Assistant (Hassio) can’t update the Home Assistant Core version, Home Assistant Addons
- Hosts can’t be reached via DNS
- I’ve AdGuard as a Home Assistant Addon installed and distributed over my router’s DHCP server. Everything else is working fine, Home Assistant Core itself and other devices in my network can use the AdGuards DNS server just fine
After removing the Raspberry’s IP from the router’s DHCP server (DNS server IP) and restarting the machine, it can resolve the urls again
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
Troubleshooting DNS Issues {nslookup, dig, host & More}
DNS issues arise for numerous reasons. Learn how you can discover, pinpoint and resolve DNS issues by following our troubleshooting ...
Read more >Troubleshooting a DHCP server failure - TechTarget
DHCP troubleshooting can be complicated. Use this troubleshooting guide to learn about common DHCP errors and how to fix them.
Read more >Guidance for troubleshooting DHCP - Windows Server
Introduces general guidance for troubleshooting scenarios related to DHCP.
Read more >DHCP and DNS: Introduction, functions and options - Univention
DHCP and DNS are two essential services in IT networks. ... If one server cannot resolve a name or IP, it can contact...
Read more >Ways of resolving hosts and IP addresses - IBM
Resolving host names with a DNS server · To check the host name on the operating system, in a command prompt, type: hostname...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
So apparently you have to set an external DNS server manually in that situation as stated here. I still don’t get why, because I wanted to use AdGuard on the Pi itself too, but ok. 😄
We “fix” the issue with Eero. They response wrong to the AAAA query (maybe someone needs to tell that company how IPv6 works with IPv4, but in that case, they should not produce network equipment. Our internal DNS solution bypass eero in that case to provide a working system.