Api/dhcp.lookup()

From Minux Wiki
Revision as of 22:59, 24 September 2024 by Shorun (talk | contribs) (Created page with "this api is part of dhcp and is used to obtain or refresh dns cache data. run on request, updates the dns variables to be used by other programs '''useage:''' dhcp.lookup(name) '''output:''' searches for "name", can be either computer name or ID, stores the data in _G.lookupid, _G.lookupname, _G.lookupowner")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

this api is part of dhcp and is used to obtain or refresh dns cache data.

run on request, updates the dns variables to be used by other programs


useage:

dhcp.lookup(name)


output:

searches for "name", can be either computer name or ID, stores the data in _G.lookupid, _G.lookupname, _G.lookupowner