File: //proc/2/cwd/proc/2/root/proc/2/root/usr/lib/python2.4/site-packages/dns/update.pyc
mò
!`Nc @ se d Z d k Z d k Z d k Z d k Z d k Z d k Z d k Z d e i i
f d „ ƒ YZ d S( s DNS Dynamic Update SupportNt Updatec B s€ t Z e i i d d e i i d „ Z d d d „ Z d „ Z
d „ Z d „ Z d „ Z
d „ Z d d „ Z d d d
„ Z RS( Nc C sñ t t | ƒ i ƒ | i t i i t i i ƒ O_ t | t t f ƒ o t i
i | ƒ } n | | _ t | t ƒ o t i i | ƒ } n | | _ | i | i | i | t i i d t d t ƒ| d j o | i | | d | ƒn d S( sä Initialize a new DNS Update object.
@param zone: The zone which is being updated.
@type zone: A dns.name.Name or string
@param rdclass: The class of the zone; defaults to dns.rdataclass.IN.
@type rdclass: An int designating the class, or a string whose value
is the name of a class.
@param keyring: The TSIG keyring to use; defaults to None.
@type keyring: dict
@param keyname: The name of the TSIG key to use; defaults to None.
The key must be defined in the keyring. 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.
@type keyname: dns.name.Name or string
@param keyalgorithm: The TSIG algorithm to use; defaults to
dns.tsig.default_algorithm. Constants for TSIG algorithms are defined
in dns.tsig, and the currently implemented algorithms are
HMAC_MD5, HMAC_SHA1, HMAC_SHA224, HMAC_SHA256, HMAC_SHA384, and
HMAC_SHA512.
@type keyalgorithm: string
t createt force_uniquet algorithmN( t superR t selft __init__t flagst dnst opcodet to_flagst UPDATEt
isinstancet zonet strt unicodet namet from_textt origint rdclasst
rdataclasst zone_rdclasst
find_rrsett questiont rdatatypet SOAt Truet keyringt Nonet use_tsigt keynamet keyalgorithm( R R
R R R R ( ( t. /usr/lib/python2.4/site-packages/dns/update.pyR s !
c C sd | d j o
| i } n | i ƒ } | i | | | i | i | | t t ƒ } | i
| | ƒ d S( s&