%PDF- %PDF-
| Direktori : /opt/plesk/python/2.7/lib/python2.7/site-packages/dns/ |
| Current File : //opt/plesk/python/2.7/lib/python2.7/site-packages/dns/update.pyc |
�
�ac @ s� d Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l m
Z
d e j j f d � � YZ
d S( s DNS Dynamic Update Supporti����Ni ( t string_typest Updatec B s� e Z e j j d
d
e j j d � Z d
d
d � Z d � Z
d � Z d � Z d � Z
d � Z d
d � Z d
d d � Z RS( c C s� t t | � j � | j t j j t j j � O_ t | t � rX t j
j | � } n | | _ t | t � r� t j
j | � } n | | _ | j | j | j | t j j d t d t �| d k r� | j | | d | �n d S( s� Initialize a new DNS Update object.
See the documentation of the Message class for a complete
description of the keyring dictionary.
*zone*, a ``dns.name.Name`` or ``text``, the zone which is being
updated.
*rdclass*, an ``int`` or ``text``, the class of the zone.
*keyring*, a ``dict``, the TSIG keyring to use. If a
*keyring* is specified but a *keyname* is not, then the key
used will be the first key in the *keyring*. Note that the
order of keys in a dictionary is not defined, so applications
should supply a keyname when a keyring is used, unless they
know the keyring contains only one key.
*keyname*, a ``dns.name.Name`` or ``None``, the name of the TSIG key
to use; defaults to ``None``. The key must be defined in the keyring.
*keyalgorithm*, a ``dns.name.Name``, the TSIG algorithm to use.
t createt force_uniquet algorithmN( t superR t __init__t flagst dnst opcodet to_flagst UPDATEt
isinstanceR t namet from_textt origint
rdataclasst zone_rdclasst
find_rrsett questiont rdatatypet SOAt Truet Nonet use_tsig( t selft zonet rdclasst keyringt keynamet keyalgorithm( ( s? /opt/plesk/python/2.7/lib/python2.7/site-packages/dns/update.pyR ! s ! !
c C sb | d k r | j } n | j � } | j | | | j | j | | t t � } | j | | � d S( s&