LUALoriotPro WEB site

LoriotPro scripting documentation
Extensions for LUA language

Table of contents Search function

Print the current page Mail this  link UTUBE Channel version française

lp.FindIPFromDynamicDNS - Search directory for IP address of a dynamic host name

LoriotPro has extended the LUA sripting language by providing its own LUA libraries. The new functions provided are dedicated to the creation of monitoring and SNMP automation application.

Syntax

"ip" = lp.FindIPFronDynamicDNS ("name");

Description

Search the LoriotPro directory for the specified DNS name (specified in the host advanced properties) and return the IP address.

Parameters

"name" A character string of the DNS host name set in the object properties.

Remark

This function requires that the LoriotPro service plugin DNStoIPresolver is running.

Return Values

The IP address found in the LoriotPro directory or nil


www.loriotpro.com