Added DNS lookup function gethoztbyname()