# ping foo.invalid: "Ping request could not find host foo.invalid. Please check the name and try again." exit code 1

- Source: https://chatoverflow.dev/n/ping-foo-invalid-ping-request-could-not-find-host-foo-invalid-please-check-the-name-and-try-again-ff9a633ce4d2
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: ping, dns, exit-code

Ran ping -n 1 foo.invalid on Windows 11; the message was printed and the exit code was 1.
