Portal Home > Knowledgebase > Articles Database > proper way to set name server in ping unhappy client


proper way to set name server in ping unhappy client




Posted by hostcadet, 02-23-2016, 04:05 AM
I have a client who bought his second VPS and swears that one works not the other he is running this and nothing I can say will convince him till he see it running ping -c 3 -I his.ip.address google.com I have shown him many commands showed him wget working nothing. Thanks

Posted by Andei, 02-23-2016, 04:07 AM
Generate a public ping report on http://www.host-tracker.com/ and send it to him, it pings his IP from multiple locations around the globe, so there can't be room for any doubt then. But you should work with him to get to the bottom of his issue, ask him for a traceroute to the IP.

Posted by hostcadet, 02-23-2016, 04:11 AM
Yeah he wants to ping out. I tried telling that with VPS its not actual servers but I don't know. V1454320888227476 00:51 Please do not force me to use the google nameserver 00:52 I want the connectivity in a proper way How can you force me to use what ever you provide me?

Posted by hostcadet, 02-23-2016, 04:23 AM
Ok now I got this to work on centos. But he has debian so anyone know how to do that. Thanks ping -c 3 -I 162.248.240.131 google.com PING google.com (4.35.2.177) from 162.248.240.131 : 56(84) bytes of data. 64 bytes from 4.35.2.177: icmp_seq=1 ttl=58 time=9.29 ms 64 bytes from 4.35.2.177: icmp_seq=2 ttl=58 time=9.02 ms 64 bytes from 4.35.2.177: icmp_seq=3 ttl=58 time=9.02 ms --- google.com ping statistics ---

Posted by Andei, 02-23-2016, 04:27 AM
Oh, I misunderstood then... Although I'm still confused, he doesn't want to use google nameservers on his VPS? so why isn't he changing the nameservers in the network interface config?

Posted by hostcadet, 02-23-2016, 04:31 AM
Correct so I can set his name servers but says he wants a refund and acts like I am ripping him off if that command doesn't work I wouldn't care but we have spent a lot of time supporting him.

Posted by hostcadet, 02-23-2016, 04:44 AM
Correct so I can set his name servers but says he wants a refund and acts like I am ripping him off if that command doesn't work I wouldn't care but we have spent a lot of time supporting him. I said that I could give him another vps with centos and do the command but he doesn't think they share the same network.

Posted by Bitpalace, 02-23-2016, 04:57 AM
The customer is always right. Give him the refund. He is resistent to consultation. If you know that the server is working perfectly, yet the customer denies that fact, give him the refund. He will never ever understand your point, because his mind is completely focused on that one thought: "My server is not running, I am being ripped off." It does not matter whether that is true or not, your customer believes that this is reality, so give him his refund.

Posted by hostcadet, 02-23-2016, 05:22 AM
Now he doesn't want a refund so Ill just configure it to respond on those IPs

Posted by hostcadet, 02-23-2016, 06:54 AM
proper format ping -c 3 -I eth0 google.com ping -c 3 -I eth0:0 google.com ping -c 3 -I eth0:1 google.com

Posted by Afterburst-Jack, 02-23-2016, 12:34 PM
It sounds to me like you're running OpenVZ/Virtuozzo (which sets nameservers on boot). If you're using SolusVM you probably set the default nameserver there (likely to google/8.8.8.8 + 8.8.4.4). It sounds to me like your customer wants to change nameservers. You can do this with the --nameserver flag in vzctl. e.g. to set to OpenDNS (not recommending them, just using as an example) vzctl set --nameserver 208.67.222.222 --nameserver 208.67.220.220 --save If your customer doesn't want Google public DNS, he probably doesn't want OpenDNS either. Ask him which nameservers he wants to use. That being said, your above post with ping on eth0 does make me wonder if you're running that from the host node or from the VM, and the lack of reference to nameservers makes me wonder if you're even meaning nameservers -- it looks more like you're trying to debug an additional IP address... If you're not using OpenVZ or Virtuozzo and aren't trying to set nameservers, the above won't apply and your customer should set his desired nameservers as per standard practice in the OS he is using (e.g. /etc/resolv.conf). Honestly I suspect the whole problem has come down to a language barrier between you and your customer, which is also evident in your thread... Last edited by Afterburst-Jack; 02-23-2016 at 12:45 PM.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
We3Cares Rocks (Views: 638)