Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Using Python to send a DNS update packet

0 views
Skip to first unread message

Matt Whiteley

unread,
Dec 24, 2003, 1:29:03 PM12/24/03
to
Hello all,

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


Gabriel Genellina

unread,
Dec 24, 2003, 2:48:50 PM12/24/03
to Matt Whiteley, pytho...@python.org

Search for pydns or dnslib. One of them was dead and replaced by another
project but I dont remember.


Gabriel Genellina
Softlab SRL


Sean 'Shaleh' Perry

unread,
Dec 24, 2003, 3:19:58 PM12/24/03
to pytho...@python.org

twisted is a project to give easy networking support to python. Should get
you up and running pretty quickly.


Kirk Strauser

unread,
Dec 27, 2003, 12:40:06 AM12/27/03
to
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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-----

John P. Speno

unread,
Dec 28, 2003, 2:17:25 PM12/28/03
to
>> 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 primari=

>ly,
>> 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 ?

Look at dnspython here:

http://www.dnspython.org/


0 new messages