Home | Trees | Index | Help |
|
---|
Package dns :: Module update :: Class Update |
|
object
--+ |Message
--+ | Update
Method Summary | |
---|---|
Initialize a new DNS Update object. | |
bool |
Two messages are equal if they have the same content in the header, question, answer, and authority sections. (inherited from Message )
|
bool |
Are two messages not equal? (inherited from Message )
|
a new object with type S, a subtype of T |
|
__repr__(self)
(inherited from Message )
| |
__str__(self)
(inherited from Message )
| |
Require that an owner name (and optionally an rdata type) does not exist as a prerequisite to the execution of the update. | |
Add records. | |
Delete records. | |
dns.node.Node object |
Find the node named namein the specified section. (inherited from Message )
|
Read the next qcountrecords from the wire data and add them to the question section. (inherited from Message )
| |
Read the next countrecords from the wire data and add them to the specified section. (inherited from Message )
| |
bool |
Is other a response to self? (inherited from Message )
|
Require that an owner name (and optionally an rdata type, or specific rdataset) exists as a prerequisite to the execution of the update. | |
rcode(self)
(inherited from Message )
| |
Replace records. | |
string |
Return a string containing the update in DNS compressed wire format. |
Configure EDNS behavior. (inherited from Message )
| |
When sending, a TSIG signature using the specified keyring and keyname should be added. (inherited from Message )
| |
Add records. | |
Add a single RR to the update section. |
Method Details |
---|
__init__(self,
zone,
rdclass=1,
keyring=None,
keyname=None)
Initialize a new DNS Update object.
|
__new__(S, ...)
|
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. |
add(self, name, *args)Add records. The first argument is always a name. The other arguments can be:
|
delete(self, name, *args)Delete records. The first argument is always a name. The other arguments can be:
|
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. The first argument is always a name. The other arguments can be:
|
replace(self, name, *args)Replace records. The first argument is always a name. The other arguments can be:
|
to_wire(self, origin=None)Return a string containing the update in DNS compressed wire format.
|
_add(self, replace, section, name, *args)Add records. The first argument is the replace mode. If false, RRs are added to an existing RRset; if true, the RRset is replaced with the specified contents. The second argument is the section to add to. The third argument is always a name. The other arguments can be:
|
_add_rr(self, name, ttl, rd, deleting=0, section=None)Add a single RR to the update section. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 1.1 on Mon Jun 30 15:54:11 2003 | http://epydoc.sf.net |