M
M
Misha Shav2020-06-29 16:03:17
Domain Name System
Misha Shav, 2020-06-29 16:03:17

Why is the DNS server not taken from interfaces?

Ave! Subject: In the resolver, the data now hangs only until the first reboot, but for some reason dns is not taken through interfaces, although I entered it, it seems to me, correctly
ps. The rest of the settings pulls correctly

auto ens33
iface ens33 inet static
address 192.168.13.100
netmask 255.255.255.0
gateway 192.168.13.2
dns-nameservers 8.8.8.8 8.8.4.4

ubuntu 20.04LTS

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
AUser0, 2020-06-29
@SeanCooper

According to the Ubuntu documentation , you need to edit the netplan options for a particular interface (in the /etc/netplan/ directory). In the referenced documentation, look for the line "DNS Client Configuration"...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question