Hi,
I want to set multiple A register to different address, in order to use
Round Robin in my dns provider, but if i use dnspython update code i alwasy
rewrite the old address, how can i add multiple register without ask for
them and then add all the actual register with the new one.
This is the code I use:
# Create keyring
keyring = dns.tsigkeyring.from_text({
'xxxxxxxxx': 'xxxxxxxxxxxxxxxxxxxxx'})
# Create update element
update = dns.update.Update('xxxxxxxxx', keyring=keyring)
update.add('test', 60, 'A', '1.1.1.1')
# Where is update.dyndns.com?
ddns = dns.resolver.query('update.dyndns.com', 'A')[0].to_text()
# Make request.
dns.query.udp(update, ddns)
I want to be able to have several A register if I change the address
'1.1.1.1' for another not to rewrite that register, i can't find any
document that help me to do so, but I can do it without problem from my
provider's website.
Thanks.
Bye.
--
Jorge Eduardo Cardona
[email protected]
jorgeecardona.blogspot.com
------------------------------------------------
Linux registered user #391186
Registered machine #291871
------------------------------------------------
_______________________________________________
dnspython-users mailing list
[email protected]
http://howl.play-bow.org/mailman/listinfo.cgi/dnspython-users