Bug #1602
closed
diag_arp.php hangs when DNS server unreachable
Added by Chris Buechler over 13 years ago.
Updated over 13 years ago.
Description
diag_arp.php hangs for a long time (several minutes at least) when no DNS server is reachable, trying to do reverse lookups.
what would be solution here? it's just hanging gethostbyaddr()
Many things slow when dns is unreachable -(
yeah I'm sure this isn't the only affected page. Not sure of the best solution. If before doing a reverse lookup on every entry it could try just one lookup (maybe google.com or something) and if it fails, just skip all lookups on that page load. Others may have better ideas
Testing for a known host and skipping if that fails could work, as long as it only triggered on timeout and not a negative response.
Alternately, we could default hostname resolution to off, and make a button to reload the form and resolve hostnames.
- Status changed from New to Feedback
Looks good on 2.0-RC3 (amd64) built on Tue Jun 21 23:37:22 EDT 2011.
My current test system does not have a working connection to any DNS server,
yet diag_arp.php only takes a few seconds and then just displays the ARP table without hostnames.
- Status changed from Feedback to Resolved
Also available in: Atom
PDF