Base class for all DNS rdata types.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_cmp(self,
other)
Compare an rdata with another rdata of the same rdtype and rdclass. |
source code
|
|
|
choose_relativity(self,
origin=None,
relativize=True)
Convert any domain names in the rdata to the specified
relativization. |
source code
|
|
int
|
covers(self)
DNS SIG/RRSIG rdatas apply to a specific type; this type is returned
by the covers() function. |
source code
|
|
int
|
extended_rdatatype(self)
Return a 32-bit type value, the least significant 16 bits of which
are the ordinary DNS type, and the upper 16 bits of which are the
"covered" type, if any. |
source code
|
|
|
|
string
|
to_text(self,
origin=None,
relativize=True,
**kw)
Convert an rdata to text format. |
source code
|
|
string
|
to_wire(self,
file,
compress=None,
origin=None)
Convert an rdata to wire format. |
source code
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|