'Look up a domain name and, if it is present, return the domain object
associated with it.  Otherwise return the default domain.
@type name: L{bytes}
@param name: A domain name.
@rtype: L{IDomain} provider or L{None}
@return: A domain object.'

def __getitem__(self, name):

    return self.domains.get(name, self.default)
