Hi,
I'm writing a really simple script that adds some hosts to a remote dns server
using a key.
I accomplish that by doing something like:
import dns.query
import dns.tsigkeyring
import dns.update
import sys
keyring = dns.tsigkeyring.from_text({'keyname' : 'keystring'})
update = dns.update.Update('one.domain.com', keyring=keyring)
rdataa = dns.rdata.from_text(1,1,'10.200.0.123')
rdataseta = dns.rdataset.from_rdata(600,rdataa)
update.add('dns',rdataseta)
What I would like to do is to add a subdomain. As I understand it it would be
easier to use a "virtual" subdomain by adding a new $ORIGIN section, I just
can't figure out how to do that with dnspython.
Thank you in advance for the answer and thank you for this library!
Xavier
_______________________________________________
dnspython-users mailing list
[email protected]
http://howl.play-bow.org/mailman/listinfo/dnspython-users