mDNS sets DNS server to bogon address, even when MDNS is disabled - Bug? #860
TangoOversway
started this conversation in
General
Replies: 1 comment
-
It is not intentional. To me it seems to a problem in the local network.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
By default, with mDNS enabled, it sets the DNS server for an openHASP device to 253.199.152.29 (which I'm calling the default DNS), which is a bogon address, so the openHASP device will never get a response to a DNS request. Also, when mDNS is disabled, which must be done through an MQTT command (
config/mdns
), many times my openHASP test device will get the DNS server address from my LAN's DHCP server, but about 10% of the time, it'll still set the DNS to the default bogon address. (10% is my estimate. I've done about reboots to test this, using GUI, serial command, and power cycling and it averages out to about 10% of my reboots using the default DNS even though mDNS is disabled.)I realize this may be intended, possibly to avoid DNS use for some reason, but it could also be a bug. I have not seen any of my openHASP devices use any DNS server other than this default one and the one my DHCP server provides.
Is it possible this is intentional? If so, why? Or is it a bug? (I also realize that if it's a bug, it could be an Arduino library issue.)
Beta Was this translation helpful? Give feedback.
All reactions