Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3474

netplan and dns configuration with multiple DHCP connections

$
0
0
It appears that netplan doesn't pay much attention to DNS configuration instructions:
network:    version: 2    renderer: NetworkManager    ethernets:      enp3s0:          dhcp4: true           dhcp4-overrides:            route-metric: 10      enp2s0:          addresses:              - 172.16.1.129/16      enx00e04c680b7a:          addresses:              - 10.0.0.1/8      usb0:          dhcp4: true          dhcp4-overrides:            use-dns: false            route-metric: 200
Despite usb0 use-dns setting being set to false, the DNS setting from usb0 DHCP was put first, even after rebooting. Any ideas how to debug or fix this? enp3s0 metric is payed attention to, and is set to 10. usb0 has a metric of 200. So why is use-dns ignored? I at least want the DNS setting for USB0 set last.

Statistics: Posted by klugja — 2024-05-20 16:03 — Replies 0 — Views 30



Viewing all articles
Browse latest Browse all 3474

Trending Articles