A DNS RRset (named rdataset).
RRset inherits from Rdataset, and RRsets can be treated as Rdatasets
in most cases. There are, however, a few notable exceptions. RRsets have
different to_wire() and to_text() method arguments, reflecting the fact
that RRsets always have an owner name.
| Method Summary |
| |
__init__(self,
name,
rdclass,
rdtype,
covers,
deleting)
Create a new RRset. |
| bool
|
__eq__(self,
other)
Two RRsets are equal if they have the same name and the same
rdataset |
| |
__getstate__(...)
|
| |
__iter__(self)
(inherited from SimpleSet)
|
| |
__len__(self)
(inherited from SimpleSet)
|
| |
__ne__(self,
other)
(inherited from Rdataset)
|
| a new object with type S, a subtype of T
|
__new__(S,
...)
|
| |
__repr__(self)
|
| |
__str__(self)
|
| |
add(self,
rd,
ttl)
Add the specified rdata to the rdataset. (inherited from Rdataset)
|
| |
clear(self)
Make the set empty. (inherited from SimpleSet)
|
| |
difference_update(self,
other)
Update the set, removing any elements from other which are in the
set. (inherited from SimpleSet)
|
| |
discard(self,
item)
Remove an item from the set if present. (inherited from SimpleSet)
|
| |
intersection_update(self,
other)
Update the set, removing any elements from other which are not in both
sets. (inherited from SimpleSet)
|
| |
match(self,
name,
rdclass,
rdtype,
covers,
deleting)
Returns True if this rrset matches the specified class, type, covers,
and deletion state. |
| |
remove(self,
item)
Remove an item from the set. (inherited from SimpleSet)
|
| |
to_text(self,
origin,
relativize,
**kw)
Convert the RRset into DNS master file format. |
| |
to_wire(self,
file,
compress,
origin,
**kw)
Convert the RRset to wire format. |
| |
union_update(self,
other)
Update the set, adding any elements from other which are not already
in the set. (inherited from SimpleSet)
|
| |
update(self,
other)
Add all rdatas in other to self. (inherited from Rdataset)
|
| |
update_ttl(self,
ttl)
Set the TTL of the rdataset to be the lesser of the set's current TTL
or the specified TTL. (inherited from Rdataset)
|