示例#1
0
 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)
示例#2
0
文件: samdb.py 项目: Distrotech/samba
 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)
示例#3
0
 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)