Actions17
Network Utilities
AI-generatedSummary
Perform various network-related utilities such as DNS resolution, checking if an IP address is within a CIDR range, pinging a host, retrieving subnet information, checking TCP port status, and sending Wake-on-LAN magic packets.
Inputs
- Action (required) — Select the network utility action to perform: DNS Resolve, IP in Range, Ping, Subnet Info, TCP Port Check, or Wake on LAN.
- IP Address — The IP address to check if within the specified CIDR range (required for 'IP in Range' action).
- CIDR — The CIDR block to evaluate, e.g., '192.168.1.0/24' (used for 'IP in Range' and 'Subnet Info' actions).
- Host / IP — The domain name or IP address to ping or to check the TCP port of (required for 'Ping' and 'TCP Port Check' actions).
- Packets — Number of ping packets to send (default is 3, used only in 'Ping' action).
- Domain — Domain name to resolve DNS records for (used only in 'DNS Resolve' action).
- Record Type — Type of DNS record to query, such as A, AAAA, CNAME, MX, NS, TXT, etc. (used only in 'DNS Resolve' action, default 'A').
- Port — TCP port number to check (default 80, used only in 'TCP Port Check' action).
- Timeout (ms) — Timeout in milliseconds for TCP port check (default 3000, used only in 'TCP Port Check' action).
- MAC Address — MAC address of the target device to send the Wake-on-LAN magic packet to (required for 'Wake on LAN' action).
Output shape
a single JSON object containing the result of the chosen network utility action
The output format varies depending on the action selected: 'DNS Resolve' returns DNS records and status, 'IP in Range' returns a boolean indicating containment, 'Ping' returns ping result details, 'Subnet Info' returns subnet properties like first and last IP, 'TCP Port Check' returns port status, and 'Wake on LAN' returns success or error message.
Examples
Example 1: Check if an IP is in a CIDR range
Set Action to 'IP in Range', specify the IP address, and provide the CIDR block. Output indicates whether the IP is within the range.
Example 2: Resolve DNS records for a domain
Set Action to 'DNS Resolve', specify the domain and record type (e.g., A, MX). Outputs the resolved DNS records or error if not found.
Example 3: Ping a host
Set Action to 'Ping', specify the host and number of packets to send. Output includes ping statistics and status.