A
A
Anton Kurilov2017-03-29 14:45:37
linux
Anton Kurilov, 2017-03-29 14:45:37

Why don't wget / ping / nslookup work?

I'm trying to install certbot, wget does not resolve. NSlookup and ping, as it turned out, also do not work: they give out "unknow host% url%".
Contents of /etc/resolv.conf:

nameserver 188.120.247.2
nameserver 188.120.247.8
nameserver 82.146.59.250

I'm new, so keep it simple please :)
Ubuntu 14.04, Ngnix.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Saboteur, 2017-03-29
@saboteur_kiev

188.120.247.2 working at all?
nslookup, you can manually specify a specific dns server, for example
nslookup google.com 8.8.8.8 and the answer will come from 8.8.8.8
As far as I know, the DNS client does not query all the specified DNS servers, it queries the first one available, and only if the first one does not respond, pulls the second . But if the first DNS server from the list answered and said that host is unknown, then that's it - your client will not check with other DNS servers.
A simple option is to put 82.146.59.20 first, or query them manually via nslookup, specifying the DNS server in the arguments

A
Andrey Burov, 2017-03-29
@BuriK666

apparently these DNS do not work, specify 8.8.8.8

S
Spetros, 2017-03-29
@Spetros

For example, the network card is not working, or the network is not configured.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question