One of our projects encountered a strange issue today: the VPS server cannot reach a third party web service, because it cannot resolve its domain. When I SSH to the server and run
ping to the web service's domain, I get the error
Could not resolve host: %web.service.url%.
Interestingly, another server of the same hosting company located in the same region (Australia), has the exact same problem, so it must be a wider problem than just one particular server. Pinging the same service from local computer works fine, and other servers also do not have this issue. The guys from technical support weren't able to help us for several hours, their last message said:
"Your options are to contact the DNS provider you are using as the DNS servers are not providing any records for the domain."
I am not sure what is a DNS provider, and why they sound like we are using some custom one rather than something that they provide for their VPS servers. Could it be an issue between them and Australian ISP?
And most importantly, what are our options now, except moving everything to another hosting provider? Switching the third party web service is not an option at the moment.
Below is the result of the
dig %web.service.url%, when run from the server:
; <<>> DiG 9.9.5-4.3ubuntu0.1-Ubuntu <<>> %web.service.url% ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 35626 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1500 ;; QUESTION SECTION: ;%web.service.url%. IN A ;; Query time: 1074 msec ;; SERVER: %server.ip.address%#53(%server.ip.address%) ;; WHEN: Thu Jul 20 09:19:44 UTC 2017 ;; MSG SIZE rcvd: 51