Updated to use DNS lookup rather than hardcoded IP address.