D
D
dimaguru2019-09-24 13:10:27
Domain Name System
dimaguru, 2019-09-24 13:10:27

DNS does not work on the ubuntu server, how to run the Docker script in this case?

DNS does not work on the server, only IP, but you need to run a docker script that uses dns, is it possible to somehow find out the IP of the Docker script, or how to solve the DNS problem on Ubuntu 16

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Dmitriev, 2019-09-24
@dimaguru

prescribe in /etc/resolv.conf the addresses of the provider, hoster or public ones, for example from Google. Check in Ubuntu with the nslookup www.google.com command - that DNS resolution has worked.

D
dimaguru, 2019-09-24
@dimaguru

[email protected]:~# nslookup www.google.com
Server: 8.8.8.8
Address: 8.8.8.8#53
Non-authoritative answer:
Name: www.google.com
Address: 216.58.213.132

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question