Project

General

Profile

Actions

Bug #23871

closed

dns checker returns empty string for fqdn resolting in wrong error message

Added by Ido Kanner almost 6 years ago. Updated about 5 years ago.

Status:
Rejected
Priority:
Low
Assignee:
Category:
-
Target version:
-
Difficulty:
trivial
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

I had an issue with a machine that the FQDN was not resolved by Ruby (but other programs did).
But instead of empty array, it returned an empty string inside an array as a single element.

The dns.rb checker then tried to resolve the ip address using 'reverse = Resolv.getname(ip.to_s)', but failed, entered the attempt to resolve it as IPv6, and return an error about resoling IPv6.

I think it is related to https://projects.theforeman.org/issues/23754 but not the same, but the issue is the actual ability to report the right message, and not to try and tell that there is no resolving for IPv6, that does not exists in the first place.


Related issues 1 (0 open1 closed)

Related to Installer - Bug #23754: Foreman 1.17 auto-installation fails with "Forward DNS 10.3.1.11 did not reverse resolve to any hostname."Feedback05/31/2018Actions
Actions #1

Updated by The Foreman Bot almost 6 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-installer/pull/275 added
Actions #2

Updated by Anonymous almost 6 years ago

  • Related to Bug #23754: Foreman 1.17 auto-installation fails with "Forward DNS 10.3.1.11 did not reverse resolve to any hostname." added
Actions #3

Updated by Ewoud Kohl van Wijngaarden about 5 years ago

  • Status changed from Ready For Testing to Rejected
Actions

Also available in: Atom PDF