aboutsummaryrefslogtreecommitdiff
path: root/src/help.lua
diff options
context:
space:
mode:
authorAutumn <git@autumnfo.rest>2026-05-17 19:04:13 +0100
committerAutumn <git@autumnfo.rest>2026-05-17 19:04:13 +0100
commit44219730e45fd26963883afb6cf92205002ed1d8 (patch)
tree65ee7b4a3106c038704b9ff6474f085b90608ce2 /src/help.lua
parente7563787be5b3a9c1de66a7f4eb16ed09d9d4a21 (diff)
[main] added basic dns lookupHEADmain
Diffstat (limited to 'src/help.lua')
-rw-r--r--src/help.lua16
1 files changed, 15 insertions, 1 deletions
diff --git a/src/help.lua b/src/help.lua
index 7f0c82d..cf6b25e 100644
--- a/src/help.lua
+++ b/src/help.lua
@@ -14,6 +14,9 @@ function main ()
print("---*> 0000 - echo")
print("\n---*> 0001 - fetchservice\n")
+ print("\n*> Other Utils:")
+ print("---*> dns")
+
end
-- 0000: echo
@@ -36,11 +39,22 @@ function fetchservice ()
end
+-- misc: look up dns
+function dns ()
+
+ print("\nDNS Lookup - Look up the IP address associated with a hostname.")
+
+ print("\n*> Usage:")
+ print("\n lua selenepaw.lua dns <server name> <hostname>\n")
+end
+
-- return
return {
main = main,
echo = echo,
- fetchservice = fetchservice
+ fetchservice = fetchservice,
+
+ dns = dns
}