dhclient append settings from multiple DHCP servers
- by Brian
I have a server with two interfaces connected to two separate networks, using DHCP for both. When dhclient is writing /etc/resolv.conf, I would like it to append settings that aren't already there. For instance, if I receive from one DHCP server:
nameserver 10.0.0.1
search one.mydomain.com
and from another:
nameserver 10.1.1.254
search…