Skip to main content
Network

Check your Mac's network in one click

A DockRun workflow that collects your local IP, router, DNS servers, public IP and WARP state, then copies the report to the clipboard.

The button needs DockRun 0.1.19 or later. On an older version, download the file, then use Settings > Restore or Import… in DockRun.

Runs in DockRun Free, which holds 2 workflows.

What it does

  • Reads the active network interface, your local address, the router and the DNS servers.
  • Asks Cloudflare (1.1.1.1/cdn-cgi/trace) for your public address, its location, and whether WARP is on.
  • Pings 1.1.1.1 three times and reports packet loss.
  • Copies the whole report, ready to paste into a chat or a support ticket.

The steps

Read the script below before you add it. It is everything this workflow runs.

  1. 1. Collect the network report
    Runs this zsh script · Time limit: 30 seconds
    # Prints a short network report: local address, router, DNS, public address and whether WARP is on.
    # Asks https://1.1.1.1/cdn-cgi/trace (Cloudflare) for the public address; nothing else leaves the Mac.
    iface=$(route -n get default 2>/dev/null | awk '/interface:/{print $2}')
    [ -n "$iface" ] || { echo "No network connection found." >&2; exit 1 }
    router=$(route -n get default | awk '/gateway:/{print $2}')
    echo "Interface:  $iface"
    echo "Local IP:   $(ipconfig getifaddr "$iface" 2>/dev/null || echo unknown)"
    echo "Router:     $router"
    echo "DNS:        $(scutil --dns | awk '/nameserver\[/{print $3}' | awk '!seen[$0]++' | head -3 | paste -sd ' ' -)"
    trace=$(curl -s --max-time 5 https://1.1.1.1/cdn-cgi/trace)
    if [ -n "$trace" ]; then
      echo "Public IP:  $(echo "$trace" | awk -F= '/^ip=/{print $2}')"
      echo "Location:   $(echo "$trace" | awk -F= '/^loc=/{print $2}') via $(echo "$trace" | awk -F= '/^colo=/{print $2}')"
      echo "WARP:       $(echo "$trace" | awk -F= '/^warp=/{print $2}')"
    else
      echo "Public IP:  no answer from 1.1.1.1 (offline, or blocked)"
    fi
    loss=$(ping -c 3 -q -t 4 1.1.1.1 2>/dev/null | awk -F', ' '/packet loss/{print $3}')
    echo "Ping 1.1.1.1: ${loss:-no reply}"
    
  2. 2. Copy the report
    Copies what the step before printed to the clipboard · Time limit: 60 seconds

After you add it

  1. DockRun shows what is in the file and asks before adding it. The workflow arrives turned off.
  2. Open it, read the steps, then turn on the On switch.
  3. Press Run. DockRun asks before a script runs; tick "Don't ask again for this exact step" once you trust it.

Good to know

The only request that leaves your Mac goes to 1.1.1.1 to read your public address.

Last tested: 2026-11-12 · All workflows →

Curious if DockRun is right for you?

Let ChatGPT, Claude, or Perplexity look into it - click below and see what AI actually thinks about DockRun.

Check your Mac's network in one click | DockRun