Project

General

Profile

Bug #21269

Template helper dns_lookup does not work with IP addresses

Added by Lukas Zapletal 12 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Category:
Templates
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Although this was covered with tests, network things are stubbed for obvious reasons so we did not catch this. Method resolver.getname requires string and not IPAddress instance.

Associated revisions

Revision 90c7d2ba (diff)
Added by Lukas Zapletal 12 months ago

Fixes #21269 - fixed dns_lookup with address resolution

Revision 0091e76b (diff)
Added by Lukas Zapletal 12 months ago

Fixes #21269 - fixed dns_lookup with address resolution

Revision 5ee125db (diff)
Added by Lukas Zapletal 12 months ago

Fixes #21269 - fixed dns_lookup with address resolution

History

#1 Updated by The Foreman Bot 12 months ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lukas Zapletal
  • Pull request https://github.com/theforeman/foreman/pull/4905 added

#2 Updated by Lukas Zapletal 12 months ago

  • Bugzilla link set to 1364491

I request 1.15.6, oneliner.

#3 Updated by Lukas Zapletal 12 months ago

  • Legacy Backlogs Release (now unused) set to 311

#4 Updated by Lukas Zapletal 12 months ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF