File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/__pycache__/ddns.cpython-310.pyc
Back
o ;jL � @ s� d Z ddlZddlZddlZe�e�ZzddlZ ddl Z ddlZ dZW n e y7 Z zdZW Y dZ[ndZ[ww dd� Zddd�Zd d � Z ddd�Zddd�Z ddd�Z ddd�ZdS )aM Support for RFC 2136 dynamic DNS updates. :depends: - dnspython Python module :configuration: If you want to use TSIG authentication for the server, there are a couple of optional configuration parameters made available to support this (the keyname is only needed if the keyring contains more than one key):: keyfile: keyring file (default=None) keyname: key name in file (default=None) keyalgorithm: algorithm used to create the key (default='HMAC-MD5.SIG-ALG.REG.INT'). Other possible values: hmac-sha1, hmac-sha224, hmac-sha256, hmac-sha384, hmac-sha512 The keyring file needs to be in json format and the key name needs to end with an extra period in the file, similar to this: .. code-block:: json {"keyname.": "keycontent"} � NTFc C s t rdS dS )z) Confirm dnspython is available. Zddns)FzDThe ddns execution module cannot be loaded: dnspython not installed.)�dns_support� r r �E/opt/saltstack/salt/lib/python3.10/site-packages/salt/modules/ddns.py�__virtual__+ s r c K s>