I am using ubuntucore, I want to configure nameservers in /etc/resolv.conf. Configuring with “console-conf” does not allow you to set nameservers and hence will be picked from dhcp only, I want to add more nameservers with dhcp configuration.
Editing any config file (for example /etc/dhcp/dhclient.conf, /etc/resolvconf/resolv.conf.d/base) is also not possible since it’s a read only file system. I tried stopping and disabling systemd-resolved service but still no luck on reboots.
I can manually add nameservers entry in the config file (/etc/netplan/00-snapd-config.yaml) but that also doesn’t seem to work.
I am able to set nameservers in static configuration though.
any ideas for the problem?