From e0a9243f6be3be08d14d7857285f9a7eca96724f Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Mon, 1 Aug 2022 23:07:24 -0700 Subject: [PATCH] Update --- homelab/docs/Internet Neighborhood.md | 6 +++++- homelab/docs/attach/ping.log | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 homelab/docs/attach/ping.log diff --git a/homelab/docs/Internet Neighborhood.md b/homelab/docs/Internet Neighborhood.md index 17dc69bb..4e300b3f 100644 --- a/homelab/docs/Internet Neighborhood.md +++ b/homelab/docs/Internet Neighborhood.md @@ -503,4 +503,8 @@ giphy.com howstuffworks.com scholastic.com com.com -``` \ No newline at end of file +``` +1. Determine which domains respond to a ping at all. It's possible that some of these randomly drop 4 pings, but that will be a small number. Do accomplish this, we'll ping each host 4 times and we send the output to ping.log. +`for domain in $(cat domains.txt); do ping -c 4 $domain >> ping.log 2>&1; done` + +This gives us [attach/ping.log](attach/ping.log) \ No newline at end of file diff --git a/homelab/docs/attach/ping.log b/homelab/docs/attach/ping.log new file mode 100644 index 00000000..663dad73 --- /dev/null +++ b/homelab/docs/attach/ping.log @@ -0,0 +1,5 @@ +PING com.com (54.219.18.140) 56(84) bytes of data. + +--- com.com ping statistics --- +4 packets transmitted, 0 received, 100% packet loss, time 3065ms +