Skip to content
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

Dead IPs in script #8

Closed
krattai opened this issue Mar 17, 2021 · 2 comments
Closed

Dead IPs in script #8

krattai opened this issue Mar 17, 2021 · 2 comments

Comments

@krattai
Copy link

krattai commented Mar 17, 2021

Two lines in the script have hard coded IPs and neither of the IPs resolve at this time

anycast="185.121.177.177"

# wait for network up 20s*4
log 'Checking network is up'
fping -q -t 20000 "$anycast"

# find out what the IP address of api.opennicproject.org is, fallback static IP address configured
apihost=api.opennic.org
apiip=$(dnslookup "$anycast" "$apihost")
echo $apiip
apiip=${apiip:-"161.97.219.82"}
log "Using $apiip as API host"

The IP 185.121.177.177 is down and 161.97.219.82 is abandoned to a VM host provider.

@kewlfft
Copy link
Owner

kewlfft commented Mar 17, 2021

I am not using this DNS at the moment, if you can suggest the new IPs or the changes

@kewlfft kewlfft closed this as completed Mar 21, 2021
@kewlfft kewlfft reopened this Mar 21, 2021
@kewlfft
Copy link
Owner

kewlfft commented Mar 21, 2021

fixed with a3b1d11

@kewlfft kewlfft closed this as completed Mar 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants