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.
|
|
|
|
|
|
|
|
|
|
|
|
|
bool
|
__eq__(self,
other)
Two RRsets are equal if they have the same name and the same rdataset |
source code
|
|
|
|
match(self,
name,
rdclass,
rdtype,
covers,
deleting=None)
Returns True if this rrset matches the specified class, type, covers,
and deletion state. |
source code
|
|
|
|
to_text(self,
origin=None,
relativize=True,
**kw)
Convert the RRset into DNS master file format. |
source code
|
|
|
int
|
to_wire(self,
file,
compress=None,
origin=None,
**kw)
Convert the RRset to wire format. |
source code
|
|
|
dns.rdataset.Rdataset object
|
to_rdataset(self)
Convert an RRset into an Rdataset. |
source code
|
|
|
Inherited from rdataset.Rdataset:
__ne__,
add,
intersection_update,
union_update,
update,
update_ttl
Inherited from set.Set:
__add__,
__and__,
__copy__,
__delitem__,
__delslice__,
__getitem__,
__getslice__,
__iadd__,
__iand__,
__ior__,
__isub__,
__iter__,
__len__,
__or__,
__sub__,
clear,
copy,
difference,
difference_update,
discard,
intersection,
issubset,
issuperset,
remove,
union
Inherited from object:
__delattr__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__
|