|
|
__init__(self,
zone,
rdclass=1,
keyring=None,
keyname=None,
keyalgorithm=<DNS name HMAC-MD5.SIG-ALG.REG.INT.>)
Initialize a new DNS Update object. |
source code
|
|
|
|
_add_rr(self,
name,
ttl,
rd,
deleting=None,
section=None)
Add a single RR to the update section. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
present(self,
name,
*args)
Require that an owner name (and optionally an rdata type, or specific
rdataset) exists as a prerequisite to the execution of the update. |
source code
|
|
|
|
absent(self,
name,
rdtype=None)
Require that an owner name (and optionally an rdata type) does not
exist as a prerequisite to the execution of the update. |
source code
|
|
|
string
|
to_wire(self,
origin=None,
max_size=65535)
Return a string containing the update in DNS compressed wire format. |
source code
|
|
|
Inherited from message.Message:
__eq__,
__ne__,
__repr__,
__str__,
find_rrset,
get_rrset,
is_response,
opcode,
rcode,
section_number,
set_opcode,
set_rcode,
to_text,
use_edns,
use_tsig,
want_dnssec
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__sizeof__,
__subclasshook__
|