New here? Register and read our Community Rules. Accounts are approved by hand.
Connectivity issue.
Hello
I have a dedicated on which I installed a VPS.
On the VPS I have a media script that sometimes fails to import the youtube videos. The error is:"Youtube API error: Couldn't resolve host 'www.googleapis.com'"
It seems that it is a connectivity error.
On the VPS ssh I checked the nslookup googleapis.com and the result is:
(root@Server [~]# nslookup googleapis.com Server: 4.2.2.2 Address: 4.2.2.2#53 Non-authoritative answer: Name: googleapis.com Address: 216.58.210.68
On the main dedicated (on which the VPS is installed) the commandnslookup googleapis.com gives me:
[root@sd- ~]# nslookup googleapis.com
Server: 62.210.16.6
Address: 62.210.16.6#53
Non-authoritative answer: Name: googleapis.com Address: 64.233.167.106 Name: googleapis.com Address: 64.233.167.147 Name: googleapis.com Address: 64.233.167.105 Name: googleapis.com Address: 64.233.167.104 Name: googleapis.com Address: 64.233.167.103 Name: googleapis.com Address: 64.233.167.99
Why such difference ?
On the VPS I have CSF on Cpanel but is disabled. Modsecurity is disabled as well.
It runs Apache + Nginx plugin.
Do you have any idea ?

Comments
what of others apart from googleapis, can they resolve?
what if you run wget from github? is this volumedrive or quadix?
no, online.net
Here it is:
root@Server [~]# wget https://github.com/travis-ci-examples/php/archive/master.zip --2015-11-06 13:31:45-- https://github.com/travis-ci-examples/php/archive/master.zip Resolving github.com... 192.30.252.128 Connecting to github.com|192.30.252.128|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/travis-ci-examples/php/zip/master [following] --2015-11-06 13:31:46-- https://codeload.github.com/travis-ci-examples/php/zip/master Resolving codeload.github.com... 192.30.252.145 Connecting to codeload.github.com|192.30.252.145|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/zip] Saving to: `master.zip' [ <=> ] 3,754 --.-K/s in 0s 2015-11-06 13:31:46 (29.9 MB/s) - `master.zip' saved [3754]can you remove your sd-numberstring from your post?
Someone who doesn't like you or is just bored can dig your ip address.
On the main dedicated (on which the VPS is installed) the commandnslookup googleapis.com gives me: [root@sd-xxxxx ~]# nslookup googleapis.com Server: 62.210.16.6 Address: 62.210.16.6#53
@GM2015 Thank you.
well definitely not network.....................
Thank you guys
Use the name DNS on both servers, Google DNS would be good.
Do you have different DNS setup on the VPS as opposed to dedicated?