Mwnci lookuphost() Function

Syntax

lookuphost(string)

Description

The lookuphost() function returns an array of named host’s addresses.

If no record is found, an empty array is returned.

Example

println(lookuphost("google.co.uk"))
println(lookuphost("google.co.yewkay"))


["142.250.179.227", "2a00:1450:4009:81d::2003"]
[]