what about customizing "/etc/dhclient-script"?
I just found out _why_ I always got the correct address back
! good DNS setup.
dig through that script and modify the function that
writes "/etc/resolv.conf" to also write a _new_ "/etc/hosts", not hard at all!
assuming you use dhclient, for pump read the man page