Network
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
2026.09.15.1
Changed: Bump zod 4.4.3 → 4.6.5
2026.08.28.1
Changed: Normalized the extension license to Apache-2.0 and corrected the copyright holder to "Sean Escriva". Extensions that previously shipped an MIT LICENSE.md are now Apache-2.0, consistent with the repository root and every other extension. No code or behavioral changes.
Upgrade note: License text only. No API, schema, or runtime behavior changed.
2026.08.26.2
Fixed: Restored inline npm:zod@4.4.3 import specifiers so the registry
quality scorer can resolve dependencies and score the extension. An earlier
release used a bare "zod" import-map specifier, which published but scored as
unscored.
Changed: Retained explicit compilerOptions.strict in deno.json. No
behavioral or schema changes.
| Argument | Type | Description |
|---|---|---|
| domain | string | Domain name to look up |
| Argument | Type | Description |
|---|---|---|
| url | string | URL to check |
| Argument | Type | Description |
|---|---|---|
| domain | string | Domain name to look up |
| Argument | Type | Description |
|---|---|---|
| host | string | Hostname to check |
| port | number | TLS port to connect to |
| Argument | Type | Description |
|---|---|---|
| host | string | Target host to trace |
| Argument | Type | Description |
|---|---|---|
| host | string | Target host to scan |
| Argument | Type | Description |
|---|---|---|
| host | string | Hostname to describe (e.g. example.com) |
| port | number | HTTPS/TLS port to check (default 443) |
Resources
2026.08.28.1
Changed: Normalized the extension license to Apache-2.0 and corrected the copyright holder to "Sean Escriva". Extensions that previously shipped an MIT LICENSE.md are now Apache-2.0, consistent with the repository root and every other extension. No code or behavioral changes.
Upgrade note: License text only. No API, schema, or runtime behavior changed.
2026.08.26.2
Fixed: Restored inline npm:zod@4.4.3 import specifiers so the registry
quality scorer can resolve dependencies and score the extension. An earlier
release used a bare "zod" import-map specifier, which published but scored as
unscored.
Changed: Retained explicit compilerOptions.strict in deno.json. No
behavioral or schema changes.
2026.08.26.2
Fixed: Restored inline npm:zod@4.4.3 import specifiers so the registry
quality scorer can resolve dependencies and score the extension. An earlier
release used a bare "zod" import-map specifier, which published but scored as
unscored.
Changed: Retained explicit compilerOptions.strict in deno.json. No
behavioral or schema changes.
2026.08.25.1
Changed: Updated labels for improved extension discoverability. Added cross-cutting category labels (security, observability, finops, infrastructure, networking, compliance, devops, ai, incident-response) where applicable.
updated labels
2026.08.24.5
Added: describe_endpoint method — aggregated health check that runs DNS
resolution, HTTP reachability, and TLS certificate inspection for a single host
in one call. Returns a unified endpoint_summary resource with per-check
results and an overall healthy boolean.
Added: endpoint_summary resource spec storing the aggregated check output.
Modified 1 models
2026.08.24.4
Added: Output metadata attributes for observability.
durationMs: Method execution duration in milliseconds.collectedBy: Extension name that produced the data.fetchedAt: ISO 8601 timestamp when data was fetched (added to resources that previously lacked it).
2026.08.24.3
Fixed: Added missing description field to the 2026.08.24.2 upgrade entry. The swamp binary's model loader requires description: string on every upgrade entry; the prior publish omitted it, causing a Zod validation error at load time.
2026.08.24.2
Added Troubleshooting section documenting error-resource-not-exception pattern, http_check catch-all, per-port independence, dig JSON fallback, command timeouts, and zero global args.
2026.08.21.1
Added:
dns_records,whois_info, andtracerouteresources now include anerrorfield (nullable,nullon success). Whendig,whois, ortracerouteexits non-zero, this field carries the command's stderr so a failed lookup is distinguishable from a domain/host with genuinely no data, instead of silently returning empty records.
Changed:
dns_lookup,http_check,whois_lookup,cert_check,traceroute, andport_checknow reject an emptydomain/url/hostargument with a clear validation error before invoking the underlying command, instead of runningdig/whois/openssl/tracerouteagainst an empty target and surfacing whatever cryptic error the tool produces.port_check'sportsargument now requires at least one port and rejects port numbers outside 1-65535, instead of silently scanning zero ports or passing an invalid port straight toDeno.connect.- If the underlying command binary itself is missing or fails to spawn
(
dig,whois,traceroute,opensslviabash), the error now names the command and target instead of surfacing an unqualified low-level "No such file or directory" exception.
Upgrade note: No global-arg or method-signature changes. Existing stored
dns_records, whois_info, and traceroute resources remain valid — the
new error field is nullable and defaults to null on read.
2026.07.18.1
Added: An upgrades array entry (no-op) to probe.ts for proper typeVersion tracking on existing instances. No schema or behavior changes.
2026.07.16.1
Changed: README and LICENSE reformatted (deno fmt) in PR #134; this is the first version bump to publish that formatting to the registry. No functional or behavioral change.
2026.07.16.1
Changed: README and LICENSE reformatted (deno fmt) in PR #134; this is the first version bump to publish that formatting to the registry. No functional or behavioral change.
updated labels
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned