Thanks Luca. This is exactly what I wanted. Any idea how to change this to CNAME instead of A record?
rrset = dns.rrset.from_text(q.name, 1000,
dns.rdataclass.IN, dns.rdatatype.CNAME, 'test.com')
doesn't do it. It says:
File "/Library/Python/2.5/site-packages/dns/name.py",
line 400, in to_wire
raise NeedAbsoluteNameOrOrigin
_______________________________________________
dnspython-users mailing list
[email protected]
http://howl.play-bow.org/mailman/listinfo.cgi/dnspython-users
