A DNS rdataset.
|
|
__init__(self,
rdclass,
rdtype,
covers=0)
Create a new rdataset of the specified class and type. |
source code
|
|
|
|
|
|
|
update_ttl(self,
ttl)
Set the TTL of the rdataset to be the lesser of the set's current TTL
or the specified TTL. |
source code
|
|
|
|
add(self,
rd,
ttl=None)
Add the specified rdata to the rdataset. |
source code
|
|
|
|
union_update(self,
other)
Update the set, adding any elements from other which are not already
in the set. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bool
|
__eq__(self,
other)
Two rdatasets are equal if they have the same class, type, and
covers, and contain the same rdata. |
source code
|
|
|
|
|
|
|
to_text(self,
name=None,
origin=None,
relativize=True,
override_rdclass=None,
**kw)
Convert the rdataset into DNS master file format. |
source code
|
|
|
int
|
to_wire(self,
name,
file,
compress=None,
origin=None,
override_rdclass=None,
want_shuffle=True)
Convert the rdataset to wire format. |
source code
|
|
|
|
match(self,
rdclass,
rdtype,
covers)
Returns True if this rdataset matches the specified class, type, and
covers |
source code
|
|
|
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__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__setattr__,
__sizeof__,
__subclasshook__
|