The configuration example below includes additional options that are necessary if you want to define custom DNS resolvers while retaining DHCP. Thedhcp4option enables DHCP dynamic IP address assignment, while theuse-dnsunderdhcp4-overridesensures that the DHCP does not override your custom DNS resolve...
The dhcp4-overrides and dhcp6-override mappings override the default DHCP behaviour. use-dns (boolean) Default: true. When true, the DNS servers received from the DHCP server will be used and take precedence over any statically configured ones. Currently only has an effect on the networkd bac...
The dhcp4-overrides and dhcp6-override mappings override the default DHCP behaviour. use-dns (boolean) Default: true. When true, the DNS servers received from the DHCP server will be used and take precedence over any statically configured ones. Currently only has an effect on the netwo...