smsearcy / mesh-info

Collect and view information about an AREDN mesh network.
GNU General Public License v3.0
5 stars 2 forks source link

Use "Hosts Information" instead of reverse DNS #131

Open smsearcy opened 4 weeks ago

smsearcy commented 4 weeks ago

Instead of doing reverse DNS lookups in case of node errors (to determine the node's name from the IP address), use the Host Information, fetched once from the local node, to reduce network traffic and delays.

We can leave the reverse DNS as a fallback (in case an IP address is not in that list), but this should be more efficient than doing a bunch of reverse DNS lookups (which can also timeout).