source: trunk/server/lib/dnspython/examples/xfr.py

Last change on this file was 745, checked in by Silvan Scherrer, 13 years ago

Samba Server: updated trunk to 3.6.0

File size: 222 bytes
Line 
1#!/usr/bin/env python
2
3import dns.query
4import dns.zone
5
6z = dns.zone.from_xfr(dns.query.xfr('204.152.189.147', 'dnspython.org'))
7names = z.nodes.keys()
8names.sort()
9for n in names:
10 print z[n].to_text(n)
Note: See TracBrowser for help on using the repository browser.