Stupidly simple command line tool to resolve and ping hostnames
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
J. Fernando Sánchez 011f9e57ce First commit 6 years ago
Makefile First commit 6 years ago
README.md First commit 6 years ago
go.mod First commit 6 years ago
go.sum First commit 6 years ago
main.go First commit 6 years ago
pingish First commit 6 years ago

README.md

Stupidly simple command line tool to resolve and ping hostnames.

I just use the binary to troubleshoot connectivity issues in scratch/alpine containers that don't have ping/dig/curl/wget. Just copy the binary to the container, and problem solved.

The binary has to be built with CGO_ENABLED=0 to avoid problems with alpine-based images.

TROUBLESHOOTING

To run it as a normal user in ubuntu, you might need to configure your host first: sudo sysctl -w net.ipv4.ping_group_range="0 2147483647"

And/or set the capabilities of the binary: sudo setcap cap_net_raw=ep pingish