# dstp

> CLI tool that runs common networking tests (ping, DNS, TLS, HTTP) against websites and IP addresses

Stars: 1.3k · Categories: Network

- Repository: https://github.com/ycd/dstp
- Page: https://www.trmn.sh/tools/dstp

## Install

- Homebrew: `brew install dstp`
- Go: `go install github.com/ycd/dstp/cmd/dstp@latest`
- Nix: `nix shell nixpkgs#dstp`

## Overview

dstp is a command-line networking diagnostic tool that runs multiple connectivity tests against a target URL or IP address. It performs ping tests, DNS resolution checks, TLS handshake verification, and HTTP/HTTPS connectivity tests from a single command.

The tool accepts a required target address via the `-a` flag and supports configurable options including the number of ping packets (default 3), timeout values (default 2 seconds per ping), custom DNS servers, and specific ports for TLS testing (default 443). Output can be formatted as either plaintext or JSON, making it suitable for both interactive debugging and automated monitoring workflows.

Developers, system administrators, and DevOps engineers can use dstp to quickly diagnose network connectivity issues when troubleshooting website availability, DNS resolution problems, or TLS certificate issues. The tool consolidates what would typically require multiple separate commands (ping, nslookup, curl, openssl) into a single executable that provides a comprehensive connectivity report.

### Installation

```bash
# via Homebrew
brew install dstp
```

```bash
# via Go
go install github.com/ycd/dstp/cmd/dstp@latest
```

```bash
# via Nix
nix shell nixpkgs#dstp
```

![dstp running network tests](https://media.trmn.sh/cached/b4bc5e3e2da801f2a64bb56a7f9379e0dcdbea60f77983e8cf2ac19e82eb71ab.png)

## Alternatives

- [amfora](https://www.trmn.sh/tools/amfora.md): Terminal-based Gemini protocol client with tabbed browsing, TOFU validation, and theming support (1.4k stars)
- [cloudflare-speed-cli](https://www.trmn.sh/tools/cloudflare-speed-cli.md): CLI tool that runs Cloudflare network speed tests with TUI interface, history tracking, and JSON export (1.1k stars)
- [adguardian-term](https://www.trmn.sh/tools/adguardian-term.md): Terminal-based real-time traffic monitoring and statistics dashboard for AdGuard Home instances (1.7k stars)
- [tldx](https://www.trmn.sh/tools/tldx.md): CLI tool for brainstorming and checking domain name availability with keyword permutations and TLD presets (Go, 1.9k stars)
- [asn](https://www.trmn.sh/tools/asn.md): Network reconnaissance tool for ASN lookups, BGP analysis, IP geolocation, RPKI validation, and traceroute with threat intelligence (1.9k stars)

---

Canonical: https://www.trmn.sh/tools/dstp
