01README
DNS and network probing model that generates diverse diagnostic events.
Tools Required
dig(DNS lookups)whois(domain registration info)traceroute(network path tracing)openssl(TLS certificate inspection)
Usage
# Create the network probe model
swamp model create @webframp/network net-probe
# DNS lookup
swamp model method run net-probe dns_lookup --input domain=example.com
swamp model method run net-probe dns_lookup --input domain=example.com --input recordType=MX
# HTTP check
swamp model method run net-probe http_check --input url=https://example.com
# WHOIS lookup
swamp model method run net-probe whois_lookup --input domain=example.com
# TLS certificate check
swamp model method run net-probe cert_check --input host=example.com
# Traceroute
swamp model method run net-probe traceroute --input host=example.com
# Port scan
swamp model method run net-probe port_check --input host=example.com --input ports=[80,443,8080]Methods
- dns_lookup - Run dig to resolve DNS records for a domain
- http_check - Fetch a URL and record status, headers, timing, and redirects
- whois_lookup - Query WHOIS for domain registration details
- cert_check - Inspect TLS certificate subject, issuer, and validity dates
- traceroute - Trace network path to a host
- port_check - Test TCP connectivity on specific ports
02Models
@webframp/networkv2026.04.12.1network/probe.ts
fn dns_lookup(domain: string)
Run dig to resolve DNS records for a domain
| Argument | Type | Description |
|---|---|---|
| domain | string | Domain name to look up |
fn http_check(url: string)
Fetch a URL and record status code, headers, timing, and redirect chain
| Argument | Type | Description |
|---|---|---|
| url | string | URL to check |
fn whois_lookup(domain: string)
Query WHOIS for domain registration details
| Argument | Type | Description |
|---|---|---|
| domain | string | Domain name to look up |
fn cert_check(host: string, port: number)
Inspect TLS certificate subject, issuer, and validity dates
| Argument | Type | Description |
|---|---|---|
| host | string | Hostname to check |
| port | number | TLS port to connect to |
fn traceroute(host: string)
Trace network path to a host
| Argument | Type | Description |
|---|---|---|
| host | string | Target host to trace |
fn port_check(host: string)
Test TCP connectivity on specific ports
| Argument | Type | Description |
|---|---|---|
| host | string | Target host to scan |
Resources
dns_records(15m)— DNS lookup results for a domain
http_checks(10m)— HTTP endpoint check results
whois_info(24h)— WHOIS registration data for a domain
cert_info(1h)— TLS certificate details for a host
traceroute(30m)— Network path trace to a host
port_scan(10m)— TCP port connectivity results
03Previous Versions
2026.04.14.1Apr 14, 2026
2026.04.13.1Apr 13, 2026
2026.04.12.1Apr 13, 2026
04Stats
A
100 / 100
Downloads
22
Archive size
16.0 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types1/1earned
- Has description1/1earned
- At least one platform tag (or universal)1/1earned
- Two or more platform tags (or universal)1/1earned
- License declared1/1earned
- Verified public repository2/2earned
05Platforms
06Labels