I want to use Python to send a request to a Microsft DNS server to tell it
to update an A record. Ideally, this would be a secure update but primarily,
an unsecure one would do. Are there any python modules that will let me do
it or is there some code knocking around I could use ?
Thanks
Matt
Search for pydns or dnslib. One of them was dead and replaced by another
project but I dont remember.
Gabriel Genellina
Softlab SRL
twisted is a project to give easy networking support to python. Should get
you up and running pretty quickly.
The NSUpdate class from my Newtrino project at:
http://subwiki.honeypot.net/cgi-bin/view/Freebsd/NewTrino
uses the Unix `nsupdate' command to send TSIG-authenticated update messages
to a BIND 9 DNS. It may or may not work with an MS DNS - I haven't tested
it in that configuration - but it should be easy enough to adapt it to do
so.
- --
Kirk Strauser
The Strauser Group
Open. Solutions. Simple.
http://www.strausergroup.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQE/7RpS5sRg+Y0CpvERAsl/AJ4tk5uAQCXesYFWIjke/EB+rVhUuwCfShfC
5rtqJbqOKR5XfY0KfhXO9fk=
=/+K8
-----END PGP SIGNATURE-----
Look at dnspython here: