Project

General

Profile

Actions

Bug #32763

open

Provide ipv4/ipv6 argument to dns_lookup macro

Added by Lukas Zapletal almost 3 years ago. Updated about 2 years ago.

Status:
New
Priority:
Normal
Category:
Templates
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Ruby does not return IPv6 address on a system that has no valid IPv6 address, it makes sense:

https://github.com/ruby/ruby/blob/master/lib/resolv.rb#L408-L416

However being able to query a nameserver for either A or AAAA record explicitly makes sense when rendering /etc/hosts or other configuration files for clients that can be IPv6 only or dualstack. Therefore an argument that would return A or AAAA record regardless of IP configuration of Foreman is useful.

Actions #1

Updated by The Foreman Bot almost 3 years ago

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

Updated by The Foreman Bot about 2 years ago

  • Status changed from Ready For Testing to New
  • Pull request deleted (https://github.com/theforeman/foreman/pull/8576)
Actions

Also available in: Atom PDF