This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
[APP] Buienradar faulty DNS-queries
Hi Buienradar-app-maker,
Thanks for this app, but checking my logs I found something odd:
My DNS-server logs a lot of queries from the Buienradar-app trying to find the domain gpsgadget.buienradar.nl, but somehow added the DHCP-suffix to this request, so it will end up sending a query containing gpsgadget.buienradar.nl.thuis.local which -ofcourse- can't be resolved by the public DNS-servers. After this query it fires some new DNS-requests containing the right DNS-name, gpsgadget.buienradar.nl
Maybe fixing this will make the app react quicker? Just a tip, hope this is useful :-)
Oct 24 18:50:35 dnsmasq[2122]: query[A] gpsgadget.buienradar.nl.thuis.local from 192.168.xxx.xxx
Oct 24 18:50:35 dnsmasq[2122]: query[AAAA] gpsgadget.buienradar.nl.thuis.local from 192.168.xxx.xxx
btw: I'm using Buienradar app version 2.1.2
Thanks for this app, but checking my logs I found something odd:
My DNS-server logs a lot of queries from the Buienradar-app trying to find the domain gpsgadget.buienradar.nl, but somehow added the DHCP-suffix to this request, so it will end up sending a query containing gpsgadget.buienradar.nl.thuis.local which -ofcourse- can't be resolved by the public DNS-servers. After this query it fires some new DNS-requests containing the right DNS-name, gpsgadget.buienradar.nl
Maybe fixing this will make the app react quicker? Just a tip, hope this is useful :-)
Oct 24 18:50:35 dnsmasq[2122]: query[A] gpsgadget.buienradar.nl.thuis.local from 192.168.xxx.xxx
Oct 24 18:50:35 dnsmasq[2122]: query[AAAA] gpsgadget.buienradar.nl.thuis.local from 192.168.xxx.xxx
btw: I'm using Buienradar app version 2.1.2
Comments
But I don't think it's the apps fault:
https://github.com/athombv/nl.buienradar/blob/master/node_modules/buienradar/lib/buienradar.js#L111
Three URL's a queried:
https://github.com/athombv/nl.buienradar/blob/master/node_modules/buienradar/lib/buienradar.js#L94
so looks like your DNS first looks on the internal network?
Ah sorry, didn't know that, will do!
thanks anyway!