'Return the address mapped to C{name} if it exists, or raise a
C{DNSLookupError}.
@param name: The name to resolve.
@param timeout: The lookup timeout, ignore here.'

def getHostByName(self, name, timeout):

    try:
        return succeed(self.names[name])
    except KeyError:
        return fail(DNSLookupError(("FakeResolver    couldn't    find    " + name)))
