How to update DNS record

Jean-Paul Calderone exarkun at
Thu Mar 1 15:20:05 CET 2007

On 1 Mar 2007 04:14:23 -0800, andi.clemens at wrote:
>On Mar 1, 10:33 am, Bjoern Schliessmann <usenet-
>mail-0306.20.chr0n... at> wrote:
>> Read RFC 2136 (Dynamic updates in the DNS) and see if your server
>> can be configured to do this. If not, you'll have to change the
>> zone files manually and reload the DNS config.
>It worked before with a perl script, but now I'm using django for all
>our web services so I want to implement this update function in Python
>as well.
>I don't know how to do this in Python, right now I'm trying it with
>twisted, but I don't what to do exactly. It would be nice if somebody
>has an example for doing this.

You need to provide more details.  There is no one way to change the
configuration of a DNS server.  Different servers have different features
and different interfaces.  A start would be to specify which DNS server
software needs to be reconfigured.  You might also want to include an example
of what kind of change you want to make.  For example, do you want to add
and delete records?  Do you want to change the address of associated with
an existing A record?  Are all your changes in a single zone?  etc.


More information about the Python-list mailing list