diag_arp.php hangs when DNS server unreachable
diag_arp.php hangs for a long time (several minutes at least) when no DNS server is reachable, trying to do reverse lookups.
Updated by Chris Buechler over 10 years ago
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
Updated by Jim Pingle over 10 years ago
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.
Updated by Evgeny Yurchenko over 10 years ago
Please take a look at https://github.com/bsdperimeter/pfsense/commit/dd4bded7de6d6654afe2cf203df3136c1bef9515
Seems to work better for me.
Updated by Andreas Bochem over 10 years ago
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.