Problem exist with Ubuntu 19.10 The netplan configuration below just works then after some time (I can't say when) it just stops resolving. executing netplan apply make the DNS resolution work again.
---------------------------------------------- root@nas:/home/ff# nslookup www.cisco.com Server: 127.0.0.53 Address: 127.0.0.53#53
** server can't find www.cisco.com: SERVFAIL
root@nas:/home/ff# netplan apply root@nas:/home/ff# nslookup www.cisco.com Server: 127.0.0.53 Address: 127.0.0.53#53
Non-authoritative answer: www.cisco.com canonical name = www.cisco.com.akadns.net. www.cisco.com.akadns.net canonical name = wwwds.cisco.com.edgekey.net. wwwds.cisco.com.edgekey.net canonical name = wwwds.cisco.com.edgekey.net.globalredir.akadns.net. wwwds.cisco.com.edgekey.net.globalredir.akadns.net canonical name = e2867.dsca.akamaiedge.net. Name: e2867.dsca.akamaiedge.net Address: 104.69.84.242 Name: e2867.dsca.akamaiedge.net Address: 2a02:26f0:e1:391::b33 Name: e2867.dsca.akamaiedge.net Address: 2a02:26f0:e1:381::b33
----------------------------------------------
network: ethernets: eth0: dhcp4: no eth1: dhcp4: no eth2: dhcp4: no eth3: dhcp4: no bridges: br0: interfaces: [eth0, eth1, eth2, eth3] macaddress: 00:51:82:f1:f0:02 dhcp4: no addresses: [192.168.0.32/24] gateway4: 192.168.0.2 nameservers: addresses: [192.168.0.2]
version: 2
Problem exist with Ubuntu 19.10
The netplan configuration below just works
then after some time (I can't say when) it just stops resolving.
executing netplan apply make the DNS resolution work again.
------- ------- ------- ------- ------- ------- ----
root@nas:/home/ff# nslookup www.cisco.com
Server: 127.0.0.53
Address: 127.0.0.53#53
** server can't find www.cisco.com: SERVFAIL
root@nas:/home/ff# netplan apply
root@nas:/home/ff# nslookup www.cisco.com
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer: com.akadns. net. com.akadns. net canonical name = wwwds.cisco. com.edgekey. net. com.edgekey. net canonical name = wwwds.cisco. com.edgekey. net.globalredir .akadns. net. com.edgekey. net.globalredir .akadns. net canonical name = e2867.dsca. akamaiedge. net. akamaiedge. net akamaiedge. net e1:391: :b33 akamaiedge. net e1:381: :b33
www.cisco.com canonical name = www.cisco.
www.cisco.
wwwds.cisco.
wwwds.cisco.
Name: e2867.dsca.
Address: 104.69.84.242
Name: e2867.dsca.
Address: 2a02:26f0:
Name: e2867.dsca.
Address: 2a02:26f0:
------- ------- ------- ------- ------- ------- ----
network:
dhcp4: no
dhcp4: no
dhcp4: no
dhcp4: no
interfaces : [eth0, eth1, eth2, eth3]
macaddress : 00:51:82:f1:f0:02
addresses: [192.168.0.32/24]
gateway4: 192.168.0.2
nameserver s:
addresses: [192.168.0.2]
ethernets:
eth0:
eth1:
eth2:
eth3:
bridges:
br0:
dhcp4: no
version: 2