I have 2 servers where 1 is using foo.vpn and the other being layer.vpn under 1 EC2 instance. In my EC2 instance, the 1st server adds foo.vpn in the search but layer.vpn is not being added into the array. If I modify /etc/resolv.conf it will revert the changes to the original. What can I do to keep my changes?
I add the domain to the following sudo vi /etc/systemd/resolved.conf.d/vpn-dns.conf.