G
G
grabbee2018-02-03 15:40:24
network hardware
grabbee, 2018-02-03 15:40:24

DNS resolver does not work, how to configure or check it correctly?

I'm trying to set up virtualization on the SoyouStart (OVH) server - I seem to have set everything up correctly, but the address resolution does not work. Ping, as I understand it, goes from the virtual machine to the Internet, and the virtual machine itself is pinged. FAILOVER_IP - ip address for the virtual machine.

ping -c 2 8.8.8.8 (0% packet loss, time 1001ms)
ping -c 2 google.com
ping: unknown host google.com

I'm trying to ping the address of the virtual machine from a working computer - it seems to work.
At the same time, I can not connect to the virtual machine via SSH - timeout.
ping -c 2 FAILOVER_IP (0% packet loss, time 1001ms)
debug1: Connecting to FAILOVER_IP [FAILOVER_IP] port 22 (останавливается)

DNS for the ovh 213.186.33.99 virtual machine pings from the virtual machine and the host machine too. dns-nameservers are registered and available.
ping -c 2 213.186.33.99
PING 213.186.33.99 (213.186.33.99) 56(84) bytes of data.
64 bytes from 213.186.33.99: icmp_seq=1 ttl=60 time=1.35 ms
64 bytes from 213.186.33.99: icmp_seq=2 ttl=60 time=1.30 ms

--- 213.186.33.99 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 1.303/1.327/1.352/0.043 ms

vi /etc/resolv.conf
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
nameserver 213.186.33.99
nameserver 8.8.8.8
nameserver 8.8.4.4
search ovh .net

How to find out what is the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Puma Thailand, 2018-02-03
@opium

Go through the web console and see if there is a nslookap and firewall rules

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question