Blog

Monitoring services inside Tailscale, NetBird or a LAN

Why your monitor says 'could not resolve' for private hosts, and how to check services that only exist inside a VPN or home network.

· 2 min read

You add a monitor for nas.netbird.cloud or grafana.tail1234.ts.net, and it fails straight away: could not resolve. The host is fine. Your monitor just isn't inside the network that host lives in.

Why it happens

A check runs on a probe: the machine that actually makes the request. If yasp runs on a VPS and checks from there, it uses that VPS's DNS and routes. A name that only exists in your Tailscale or NetBird network, or an address on your home LAN, means nothing to it.

The fix is to run the check from a machine that is inside the network.

Put a probe inside the network

yasp-probe is a small static binary that runs checks and reports back to yasp. It only makes outbound connections, so it needs no open ports and works behind NAT.

  1. In yasp, go to Probes → Add probe. You get a one-time token and the commands to start it.

  2. On any machine in the network (a Raspberry Pi, the NAS, a spare VM), run:

    curl -fsSL https://status.example.com/probe/install.sh | sudo sh -s -- yasp_enr_…

    It downloads the release matching your yasp version, checks it against the release's SHA256SUMS, and installs it as a service.

Allow the network's addresses

Probes refuse private addresses by default, so a typo in a monitor can't scan your LAN or a cloud metadata service. Under the probe's Network allowlist, add:

NetworkAllow
Tailscale100.64.0.0/10, and fd7a:115c:a1e0::/48 for IPv6
NetBird100.64.0.0/10
A LAN or WireGuardits range, e.g. 192.168.1.0/24 or 10.8.0.0/24

Check from there

Create the monitor with Run from set to the new probe, and press Test now. It runs the check once from the probe and shows what it saw. If it still fails, the message says why: a name that only resolves inside a VPN gets a hint saying so, and a blocked address names the allowlist.

If the probe runs in Docker

A container doesn't use the host's VPN DNS: Docker's resolver forwards to the host's upstream servers and skips Tailscale's or NetBird's. Either run the probe with network_mode: host, or set the monitor's DNS server (under Advanced options) to the network's resolver, like 100.100.100.100 for Tailscale. That address has to be in the allowlist too.

While you're there: processes

A probe can also watch processes on its own machine: "is postgres running, and how many gunicorn workers?" Add a Process monitor that runs on that probe. In Docker, give the probe pid: host so it can see the host's processes.

The full details are in probes and private networks.

Try yasp

Click through the read-only live demo, or install it in a few minutes.