Project

General

Profile

Actions

Bug #1602

closed

diag_arp.php hangs when DNS server unreachable

Added by Chris Buechler almost 13 years ago. Updated almost 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
06/15/2011
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:

Description

diag_arp.php hangs for a long time (several minutes at least) when no DNS server is reachable, trying to do reverse lookups.

Actions #1

Updated by Evgeny Yurchenko almost 13 years ago

what would be solution here? it's just hanging gethostbyaddr()
Many things slow when dns is unreachable -(

Actions #2

Updated by Chris Buechler almost 13 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

Actions #3

Updated by Jim Pingle almost 13 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.

Actions #5

Updated by Ermal Luçi almost 13 years ago

  • Status changed from New to Feedback
Actions #6

Updated by Andreas Bochem almost 13 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.

Actions #7

Updated by Chris Buechler almost 13 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF