tessl install tessl/pypi-dnspython@1.16.0DNS toolkit for Python supporting almost all record types with high-level and low-level DNS operations
Agent Success
Agent success rate when using this tile
85%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.37x
Baseline
Agent success rate without this tile
62%
Compose and send dynamic DNS update transactions for a single zone using queued operations with prerequisites and deletions.
@generates
class DynamicUpdater:
def __init__(self, zone: str, server: str, port: int = 53, timeout: float | None = None): ...
def queue_replace_a(self, hostname: str, new_address: str, expected_address: str | None = None, ttl: int = 300) -> None: ...
def queue_delete_txt(self, hostname: str, required_token: str | None = None) -> None: ...
def build_message(self):
"""Return the dynamic update message built from queued operations."""
def apply(self) -> dict:
"""Send the update and return {'rcode': str, 'added': int, 'deleted': int, 'applied': bool}."""Provides dynamic DNS update helpers and transports.