added DNS support (IP address no longer required)