i am using a laptop for my work. When i need to go to some customers I need to change my tcp/ip configuration every time (phisical interface and wirelss interface). Most of them do not have a dhcpd server on their networks, and i need to this changes by hand. For this pourpose i make some scripts to do this changes automatically.
carlo, i used to have this same problem and simply added an update of /etc/resolv.conf to my script. dhcpcd updates this anyway when you are on a dhcp network, so it's not much of a munge.
Matt Frye