def time_zone_by_name(self, hostname):
addr = self._gethostbyname(hostname)<EOL>return self.time_zone_by_addr(addr)<EOL>
Returns time zone in tzdata format (e.g. America/New_York or Europe/Paris)

:arg hostname: Hostname (e.g. example.com)