Is there a way to specify the address of a DNS server outside of using /etc/resolv.conf?
Reason: ( since someone will ask ) I have a system running LDME 1. I have installed a new drive and on it LDME 2.
Now since everything is configured the way I want in the LDME 1 system, I log into that and do cutsomize LDME 2 from a chroot.
The problem is that in LDME 2 /etc/resolv.conf is a symbolic link to a file in the /run directory. That file which is probably created in LDME 2 at boot does not exist in LDME 1.
If the LDME 2 /etc/resolv.conf were a regular file I would happily back it up, replace it with the LDME 1 version, do my stuff and restore. But I don't want to go around messing with freshly system generated symbolic link. Especially one that points outside a chroot jail.