Pinging domains #6408
Replies: 1 comment
-
Posted at 2016-08-23 by ClearMemory041063 URL to IP address is usually done by a DNS server. For IOT devices you may need to set up a local DNS for them. https://en.wikipedia.org/wiki/BIND See the DNS references on this page to register a device's IP with the DNS. Posted at 2016-08-23 by MrTimcakes Thanks but in the end I just created a Ping Module, I've created a pull request here which does include documentation but its really simple to use, all you gotta do is:
to get :
Posted at 2020-09-05 by dgk where did this get added to the api? net.ping?? this is not the same as Wifi.ping. Posted at 2020-09-05 by @MaBecker It has been merged into modules |
Beta Was this translation helpful? Give feedback.
-
Posted at 2016-08-23 by MrTimcakes
I'd like to cycle through a list of ~90 domains to ping for the lowest response time, however the ESP8266.ping function only allows IP Addresses, so whats the best way to convert the URLs into direct IP Addresses?
Beta Was this translation helpful? Give feedback.
All reactions