NetPing
Network diagnostic tool: ping hosts, scan ports, traceroute, DNS lookup, latency measurement, and HTTP checks — all in one script.
Commands
| Command |
Description |
netping ping <host> [count] |
Ping a host (default: 4 packets) |
netping ports <host> <port1,port2,...> |
Check if TCP ports are open |
netping trace <host> |
Traceroute to host |
netping dns <domain> |
DNS lookup (A, AAAA, MX, NS, TXT records) |
netping latency <host> |
Measure average latency (5 pings with stats) |
netping http <url> |
Check HTTP status and response timing |
netping sweep <subnet> |
Quick ping sweep of a /24 subnet |
netping version |
Show version |
Examples
netping ping google.com # → ping with 4 packets
netping ping 8.8.8.8 10 # → ping with 10 packets
netping ports example.com 80,443,8080 # → check 3 ports
netping trace cloudflare.com # → traceroute
netping dns github.com # → A, AAAA, MX, NS, TXT records
netping latency 1.1.1.1 # → avg latency over 5 pings
netping http [Technical Reference] # → HTTP status + TTFB
netping sweep 192.168.1.0/24 # → find alive hosts
Requirements
ping (standard)
dig or nslookup (for DNS lookups)
traceroute or tracepath (for trace, optional — falls back to ping TTL)
curl (for HTTP checks)
- Bash
/dev/tcp (for port scanning — built into bash)
1---
2name: netping
3description: "Check connectivity with ping, port scan, and DNS lookup in one fast tool. Use when testing reachability, scanning ports, resolving DNS records quickly."
4version: "3.0.0"
5author: "BytesAgain"
6homepage: https://bytesagain.com
7source: https://github.com/bytesagain/ai-skills
8tags: ["network","ping","connectivity","dns","port","latency","diagnostic","devops"]
9categories: ["System Tools", "Developer Tools", "Utility"]
10metadata:
11 source: https://skillmd.com/skills/bytesagain/netping
12---
13
14# NetPing
15
16Network diagnostic tool: ping hosts, scan ports, traceroute, DNS lookup, latency measurement, and HTTP checks — all in one script.
17
18## Commands
19
20| Command | Description |
21|---------|-------------|
22| `netping ping <host> [count]` | Ping a host (default: 4 packets) |
23| `netping ports <host> <port1,port2,...>` | Check if TCP ports are open |
24| `netping trace <host>` | Traceroute to host |
25| `netping dns <domain>` | DNS lookup (A, AAAA, MX, NS, TXT records) |
26| `netping latency <host>` | Measure average latency (5 pings with stats) |
27| `netping http <url>` | Check HTTP status and response timing |
28| `netping sweep <subnet>` | Quick ping sweep of a /24 subnet |
29| `netping version` | Show version |
30
31## Examples
32
33```bash
34netping ping google.com # → ping with 4 packets
35netping ping 8.8.8.8 10 # → ping with 10 packets
36netping ports example.com 80,443,8080 # → check 3 ports
37netping trace cloudflare.com # → traceroute
38netping dns github.com # → A, AAAA, MX, NS, TXT records
39netping latency 1.1.1.1 # → avg latency over 5 pings
40netping http [Technical Reference] # → HTTP status + TTFB
41netping sweep 192.168.1.0/24 # → find alive hosts
42```
43
44## Requirements
45
46- `ping` (standard)
47- `dig` or `nslookup` (for DNS lookups)
48- `traceroute` or `tracepath` (for trace, optional — falls back to ping TTL)
49- `curl` (for HTTP checks)
50- Bash `/dev/tcp` (for port scanning — built into bash)