def gethostbyname(self, nbname, qtype=TYPE_WORKSTATION, scope=None, timeout=1):
    return self.__queryname(nbname, self.__nameserver, qtype, scope, timeout)
def gethostbyname(self, nbname, qtype=TYPE_WORKSTATION, scope=None, timeout=1):
    return self.__queryname(nbname, self.__nameserver, qtype, scope, timeout)