Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/n/x/nxdom-HEAD/tools/update_dns.py   nxdom(Download)
    def submit(self, name):
        self.queries.append(name)
        ADNS.QueryEngine.submit(self, name, adns.rr.SOA, 0,
                                self.callback, self.results)
 

src/n/x/nxdom-HEAD/tools/test_adns.py   nxdom(Download)
engine = ADNS.QueryEngine()
for name in sys.argv[1:]:
    engine.submit(name, adns.rr.SOA, 0, callback, 'SOA')
    engine.submit(name, adns.rr.A, 0, callback, 'NS')
    engine.submit(name, adns.rr.A, 0, callback, 'A')