clean up code that determines local hostname/IP for use with IPFW and local DNS server