Project

General

Profile

Bug #9543

diag_dns.php: Reverse lookup of IPv6 fails with "Host must be a valid hostname or IP address."

Added by Jim Pingle 5 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Diagnostics
Target version:
Start date:
05/22/2019
Due date:
% Done:

100%

Estimated time:
Affected Version:
2.5.0
Affected Architecture:
All

Description

Attempting to reverse resolve an IPv6 address on diag_dns.php fails with the error "Host must be a valid hostname or IP address."

IPv4 works as expected, as do forward DNS lookups.

To me, I have a fix.

Associated revisions

Revision 912562c4 (diff)
Added by Jim Pingle 5 months ago

Use correct variable in IP address validation check for DNS. Fixes #9543

Revision ac0bb6bc (diff)
Added by Jim Pingle 5 months ago

Use correct variable in IP address validation check for DNS. Fixes #9543

(cherry picked from commit 912562c4d76e9b629e99d44c56b363147d9ded0d)

History

#1 Updated by Jim Pingle 5 months ago

  • Status changed from Assigned to Feedback
  • % Done changed from 0 to 100

#2 Updated by Jim Pingle about 2 months ago

  • Category changed from Web Interface to Diagnostics

#3 Updated by Jim Pingle about 2 months ago

  • Status changed from Feedback to Resolved

Works fine now

Also available in: Atom PDF