wiedehopf / adsb-scripts

Solutions to common problems for rtl_sdr / ADS-B stuff
MIT License
291 stars 36 forks source link

Update pingfail.sh #32

Closed ehurrn closed 1 year ago

ehurrn commented 1 year ago

Replacing FQDNs with IP addresses of high availability DNS servers.

Two reasons:

  1. A DNS resolution issue could cause a system reboot unneccessarily. While that is a very remote possibility given the domains used, better safe than sorry.
  2. Faster ping response times. I consistently see faster response times from 1.1.1.1 (CloudFlare DNS) than from akamai.com. 8.8.8.8 is Google DNS and gets similiar response times to google.com.
wiedehopf commented 1 year ago

This is to test DNS as well. If DNS fails you get issues which can also warrant a restart.

wiedehopf commented 1 year ago

Feel free to edit your local script but i see no reason to merge this.