dns-networking_skill

This skill helps you diagnose DNS, networking, and HTTP issues by guiding you through dig/nslookup, curl diagnostics, port checks, and proxy/certificate
  • Python

2.6k

GitHub Stars

2

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openclaw/skills --skill dns-networking

  • _meta.json294 B
  • SKILL.md10.8 KB

Overview

This skill helps debug DNS resolution, network connectivity, and HTTP issues with practical commands and processes. It covers DNS queries, local overrides, port checks, traceroutes, curl diagnostics, firewall inspection, proxy testing, and TLS/certificate checks. Use it to quickly identify where network failures occur and how to verify fixes.

How this skill works

The skill provides a set of command-line patterns and small scripts that inspect name resolution, test port reachability, trace network paths, and examine HTTP and TLS handshakes. It explains how to read dig/nslookup output, force DNS resolutions via /etc/hosts or curl --resolve, probe ports with nc or /dev/tcp, run traceroute/mtr, and extract certificate details with openssl. It also lists firewall and proxy commands to confirm or change rules and environment variables.

When to use it

  • A hostname fails to resolve or resolves to the wrong IP
  • Connections return "refused" or time out
  • HTTP requests fail without clear errors (timeouts, redirects, TLS)
  • Verifying firewall or security group rules and listening services
  • Testing proxy configuration and proxy-specific failures
  • Checking server certificates, expiry, or SNI issues

Best practices

  • Start with dig +short and multiple public resolvers (8.8.8.8, 1.1.1.1) to rule out local cache issues
  • Use /etc/hosts for deterministic local testing before changing DNS records
  • Probe ports with nc -zv and confirm the process with ss/lsof on the server
  • Use curl -w with timing variables to isolate DNS/Connect/TLS/TTFB delays
  • When diagnosing packet loss use mtr rather than a single traceroute run
  • Check system clock before blaming certificates — time skew causes many TLS errors

Example use cases

  • Confirm DNS propagation across several public DNS servers after an update
  • Debug why an API returns connection timeouts from one datacenter but not another using traceroute and mtr
  • Validate that a web service is listening and certificates are valid after deployment using nc and openssl s_client
  • Test and compare requests through a corporate proxy vs direct connection using curl -x and httpbin.org/ip
  • Temporarily map a domain to a new server via /etc/hosts to test migration without changing public DNS

FAQ

Inspect /etc/resolv.conf on Linux/macOS or run resolvectl status on systemd systems; use dig @<server> to query a specific resolver.

What command shows TLS certificate expiry from the command line?

Use openssl s_client -connect host:443 -servername host then pipe to openssl x509 -noout -enddate, or use the provided one-liner to extract enddate.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational
dns-networking skill by openclaw/skills | VeilStrat