You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

24 lines
412 B

#
#
#
from .base import Record, ValuesMixin
from .target import _TargetsValue
class PtrValue(_TargetsValue):
pass
class PtrRecord(ValuesMixin, Record):
_type = 'PTR'
_value_type = PtrValue
# This is for backward compatibility with providers that don't support
# multi-value PTR records.
@property
def value(self):
return self.values[0]
Record.register_type(PtrRecord)