-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
use nslookup or curl instead of ping in check-host.sh #82
Labels
Comments
mlasak
changed the title
use nslookup instead of ping in check-host.sh
use nslookup or curl instead of ping in check-host.sh
Feb 28, 2024
Neither nslookup nor curl are suitable in this case: we need to check if IP is reachable, nslookup doesn't resolve local network IPs and curl requires a server to respond, which is not running at the moment the script runs. To avoid blocking the server startup even though it is reachable the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
in some environments icmp is not routed and so ping might not work. however, host is reachable.
suggesting to use DNS lookup in case domain name was specifed or use curl to a known ressource on HTTP(s) port
The text was updated successfully, but these errors were encountered: