-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
2.001 DNS resolution failing #791
Comments
This might be the ordering of the nameserver lines, which could differ in the two locations.
and then try again after rearranging the nameserver lines? |
Thanks for your interest in this. However I suspect there might be issues with Some extracts of journalctl:
Then it fails after a while (about 1mn30), but this is not graceful stop either.
I'm really surprised Hostpsot is launched as it is supposed to be OFF. Back to original specific DNS resolution issue, I get this message Appreciate any thoughts. |
Pretty clear the resolution is wrong, as you say. ECONNREFUSED would be whatever host has that IP address refusing the connection to port 80 (most likely because nothing is listening there). To understand what is going on with hotspot the best thing is to read wireless.js - it is fairly clear. systemd calls wireless.js with the 'start' argument. Inside wireless.js, hotspot is stopped and then the 'hotspot off' setting seems to stop it inside the start routine (startAP?). The only thing that I can suggest further is investigating the role of all that stuff under /etc/resolvconf/ - I don't understand resolvconf at all. |
as you said
I'm still curious about why hostpot it ever started in the first place, as it should not ever when setting is set to OFF. |
Now, the fun stuff is that |
Hmmmmm interesting... I wonder what causes that! |
Maybe host command and volumio processes don't speak to the same side of the frankenstein-NAT (once started & failed with dnsmasq and dhcpd). |
Seems some ISP somehow block use of Google DNS in favor of their own. |
Hi,
It seems there is some failing DNS resolution mechanism happening between Volumio2 and some routers.
However such issue does not happen with plain Jessie Lite image, so there is probably something specifically linked to Volumio networking services or setup.
Installed 2.001 on a rpi3 (Hotspot turned OFF). Was working in one place (web radios, spotify, updates,...), and then moved it into another location having different ISP router.
After lots of investigations, it turns-out that Volumio DNS resolution fails in that location.
For instance, checking for system updates fails to go through with:
sudo curl -X POST --data-binary "device=pi&variante=volumio&version=2.001&uuid=<myUUIDhere>" http://updates.volumio.org:7070/downloader-v1/track-device
but works with
sudo curl -X POST --data-binary "device=pi&variante=volumio&version=2.001&uuid=<myUUIDhere>" http://149.210.234.235:7070/downloader-v1/track-device
Doing the first command either on a Linux-PC or same raspi3 with Jessie, works (
Device uuid already tracked
response)So clearly it's a name resolution problem only with Volumio distribution.
Volumio seems to receive a LAN IP address as a response (first address of the DHCP server range): at least that's the address it uses in the curl request.
I confirmed
/etc/resolv.conf
contained proper ISP DNS addresses (and google's one).I confirmed other settings (gateway, etc) were ok.
I even setup everything manually in
/etc/network.interfaces
(including DNS), with no more name resolution success.A hack-ish way to get things sort-of running is to tediously add necessary machine names in
/etc/hosts
.By adding addresses references to carefully searched Shoutcast, Volumio, etc names, I could get some services (Webradio, plugin install, system update check) working or so.
This further confirms name resolution issue.
There are indeed some cases where DHCP & DNS servicing may be tricky with some ISP routers.
That's a reason why networking manual entry is sometimes necessary (BTW, would be nice if UI could allow entering DNS info too).
However the fact that Jessie image does not encounter this issue, leads to think there is something wrong related to DNS resolution within Volumio networking.
Unsure how to do more investigations to help diagnose this a further level down for resolution.
The text was updated successfully, but these errors were encountered: