Create a textual resource record.
(cls, name: str, text: str, *, ttl: int = DEFAULT_TTL)
| 238 | |
| 239 | @classmethod |
| 240 | def TXT(cls, name: str, text: str, *, ttl: int = DEFAULT_TTL) -> ResourceRecord: |
| 241 | """Create a textual resource record.""" |
| 242 | return cls(name, types.TXT, classes.IN, ttl, text.encode("utf-8")) |
| 243 | |
| 244 | @classmethod |
| 245 | def HTTPS( |