I have installed a local DNS server (coredns) onto my machine and activate it by setting
name_servers=127.0.0.1
within resolvconf.conf. Now I switch networks and want to have the DHCP provided resolv settings (at the least the nameservers) in a different file where I can forward the requests to by also adding external DNS servers.
How can I tell resolvconf.conf to set nameserver 127.0.0.1 in /etc/resolv.conf but write the dhcp provided data to something like /run/resolv/dhcp?
I am running Manjaro