Am 04.06.2012 um 22:08 schrieb Leandro Reox:

> Hi guys is there any way to retrieve all the records in a zone/domain via
> some query ?
Use an axfr. Something like
---
        s = my_ns_ip
        zone = dns.zone.from_xfr(dns.query.xfr(s, self.name, relativize=False, 
lifetime=30.0), relativize=False)
        rds = zone.find_rrset(...)      
        for rrsig_rdata in rds.items:
                ...
---
Should work.

Axel
---
PGP-Key:29E99DD6  ☀ +49 151 2300 9283  ☀ computing @ chaos claudius

_______________________________________________
dnspython-users mailing list
[email protected]
http://howl.play-bow.org/mailman/listinfo/dnspython-users

Reply via email to