code: def get_domain(self, ip):
          ''' Get domain '''
          rec = self.get_all(ip)
          return rec and rec.domaif get_domain(self, ip):
          ''' Get domain '''
          rec = self.get_all(ip)
          return rec and rec.domain
docs: Get domain