Hi,

Apologies if this is has been answered before. How do I send changes
to DNS back to the server?

e.g.

# get the zone
domain = 'mydomain.com'
answers = dns.resolver.query(domain, 'NS')
ns = []
for rdata in answers:
    ns.append(n)

# get zone from first nameserver
zone = dns.zone.from_xfr(dns.query.xfr(ns[0], domain))

# modifications
update = dns.Update(zone)
update.add(...)
update.delete(...)

# how do I send the dns modifications back so that this take effect?


Regards
Ram
_______________________________________________
dnspython-users mailing list
[email protected]
http://woof.play-bow.org/mailman/listinfo/dnspython-users

Reply via email to