def dns_lookup(self, dns_name, dns_partition=None): '''Do a DNS lookup in the database, returns the NDR database structures''' if dns_partition is None: return dsdb_dns.lookup(self, dns_name) else: return dsdb_dns.lookup(self, dns_name, dns_partition=dns_partition)
def dns_lookup(self, dns_name): '''Do a DNS lookup in the database, returns the NDR database structures''' return dsdb_dns.lookup(self, dns_name)