Hey,
My server is running well, however I keep getting these errors randomly. The script runs hourly. Sometimes its maybe 2 errors a day, other times its almost every hour.
Tried rebooting, I even added --retry 10 and 50, still does it.
curl: (6) Couldn't resolve host 'spaceflight.nasa.gov'
Its not the site it always resolves at home. If I nslookup or ping from the server its also fine, its just curl.
Anyone got any ideas how to fix it?
I can't use the IP as its a redirect...
Any help would be great...
~$ nslookup
> spaceflight.nasa.gov
Server: 203.14.168.3
Address: 203.14.168.3#53
Non-authoritative answer:
spaceflight.nasa.gov canonical name = spaceflight.nasa.gov.speedera.net.
spaceflight.nasa.gov.speedera.net canonical name = spaceflight.nasa.gov.edgesuite.net.
spaceflight.nasa.gov.edgesuite.net canonical name = a1295.x.akamai.net.
Name: a1295.x.akamai.net
Address: 203.59.140.13
Name: a1295.x.akamai.net
Address: 203.59.140.12
> a1295.x.akamai.net
Server: 203.0.178.191
Address: 203.0.178.191#53
Non-authoritative answer:
Name: a1295.x.akamai.net
Address: 203.59.140.13
Name: a1295.x.akamai.net
Address: 203.59.140.12
>
My server is running well, however I keep getting these errors randomly. The script runs hourly. Sometimes its maybe 2 errors a day, other times its almost every hour.
Tried rebooting, I even added --retry 10 and 50, still does it.
curl: (6) Couldn't resolve host 'spaceflight.nasa.gov'
Its not the site it always resolves at home. If I nslookup or ping from the server its also fine, its just curl.
Anyone got any ideas how to fix it?
I can't use the IP as its a redirect...
Any help would be great...
~$ nslookup
> spaceflight.nasa.gov
Server: 203.14.168.3
Address: 203.14.168.3#53
Non-authoritative answer:
spaceflight.nasa.gov canonical name = spaceflight.nasa.gov.speedera.net.
spaceflight.nasa.gov.speedera.net canonical name = spaceflight.nasa.gov.edgesuite.net.
spaceflight.nasa.gov.edgesuite.net canonical name = a1295.x.akamai.net.
Name: a1295.x.akamai.net
Address: 203.59.140.13
Name: a1295.x.akamai.net
Address: 203.59.140.12
> a1295.x.akamai.net
Server: 203.0.178.191
Address: 203.0.178.191#53
Non-authoritative answer:
Name: a1295.x.akamai.net
Address: 203.59.140.13
Name: a1295.x.akamai.net
Address: 203.59.140.12
>