Skip to content

Commit

Permalink
Clarify Host2IP return value on failure.
Browse files Browse the repository at this point in the history
  • Loading branch information
Eystein Måløy Stenberg committed Jan 17, 2019
1 parent 7539991 commit 453714f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions reference/functions/host2ip.markdown
Expand Up @@ -8,6 +8,7 @@ tags: [reference, communication functions, functions, host2ip, cached function]
[%CFEngine_function_prototype(hostname)%]

**Description:** Returns the primary name-service IP address for the named host `hostname`.
If resolution fails, the input `hostname` is returned (for compatibility reasons).

Uses whatever configured name service is used by the resolver library to
translate `hostname` into an IP address. It will return an IPv6 address
Expand Down

0 comments on commit 453714f

Please sign in to comment.