HEX
Server: Apache/2.4.54 (Unix) OpenSSL/1.0.2k-fips
System: Linux f17.eelserver.com 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64
User: zulfiqar (1155)
PHP: 8.2.0
Disabled: mail, exec, system, popen, proc_open, shell_exec, passthru, show_source
Upload Files
File: //lib/python2.7/site-packages/dns/rdatatype.pyc
�
m!|Uc@sdZddlZddlZdZdZdZdZdZdZ	d	Z
d
ZdZdZ
d
ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ d Z!d!Z"d"Z#d#Z$d$Z%d%Z&d&Z'd'Z(d(Z)d)Z*d*Z+d+Z,d,Z-d-Z.d.Z/d/Z0d0Z1d1Z2d2Z3d3Z4d4Z5d5Z6d6Z7d7Z8d8Z9d9Z:d:Z;d;Z<d<Z=d=Z>d>Z?d?Z@d@ZAdAZBi?edB6edC6edD6edE6edF6e	dG6e
dH6edI6edJ6e
dK6edL6edM6edN6edO6edP6edQ6edR6edS6edT6edU6edV6edW6edX6edY6edZ6ed[6ed\6ed]6e d^6e!d_6e"d`6e#da6e$db6e%dc6e&dd6e'de6e(df6e)dg6e*dh6e+di6e,dj6e-dk6e.dl6e/dm6e0dn6e1do6e2dp6e3dq6e4dr6e5ds6e6dt6e7du6e8dv6e9dw6e:dx6e;dy6e<dz6e=d{6e>d|6e?d}6e@d~6eAd6eBd�6ZCeDgeCjE�D]\ZFZGeGeFf^qg�ZHieIe)6ZJieIe
6eIe"6eIe(6eIe/6ZKejLd�ejM�ZNd�ejOjPfd���YZQd��ZRd��ZSd��ZTd��ZUdS(�sDNS Rdata Types.

@var _by_text: The rdata type textual name to value mapping
@type _by_text: dict
@var _by_value: The rdata type value to textual name mapping
@type _by_value: dict
@var _metatypes: If an rdatatype is a metatype, there will be a mapping
whose key is the rdatatype value and whose value is True in this dictionary.
@type _metatypes: dict
@var _singletons: If an rdatatype is a singleton, there will be a mapping
whose key is the rdatatype value and whose value is True in this dictionary.
@type _singletons: dicti����Niiiiiiiiii	i
iii
iiiiiiiiiiiiiiiiii!i#i$i%i&i'i)i*i+i,i-i.i/i0i1i2i3i4i7icigi�i�i�i�i�i�i�iii�i�tNONEtAtNStMDtMFtCNAMEtSOAtMBtMGtMRtNULLtWKStPTRtHINFOtMINFOtMXtTXTtRPtAFSDBtX25tISDNtRTtNSAPsNSAP-PTRtSIGtKEYtPXtGPOStAAAAtLOCtNXTtSRVtNAPTRtKXtCERTtA6tDNAMEtOPTtAPLtDStSSHFPtIPSECKEYtRRSIGtNSECtDNSKEYtDHCIDtNSEC3t
NSEC3PARAMtTLSAtHIPtSPFtUNSPECtTKEYtTSIGtIXFRtAXFRtMAILBtMAILAtANYtURItCAAtTAtDLVs
TYPE([0-9]+)$tUnknownRdatatypecBseZdZRS(s$DNS resource record type is unknown.(t__name__t
__module__t__doc__(((s1/usr/lib/python2.7/site-packages/dns/rdatatype.pyR>�scCs�tj|j��}|dkr�tj|�}|dkrEt�nt|jd��}|dksr|dkr�t	d��q�n|S(s�Convert text into a DNS rdata type value.
    @param text: the text
    @type text: string
    @raises dns.rdatatype.UnknownRdatatype: the type is unknown
    @raises ValueError: the rdata type value is not >= 0 and <= 65535
    @rtype: intiii��s&type must be between >= 0 and <= 65535N(
t_by_texttgettuppertNonet_unknown_type_patterntmatchR>tinttgroupt
ValueError(ttexttvalueRG((s1/usr/lib/python2.7/site-packages/dns/rdatatype.pyt	from_text�s	cCsT|dks|dkr'td��ntj|�}|dkrPd|
}n|S(s�Convert a DNS rdata type to text.
    @param value: the rdata type value
    @type value: int
    @raises ValueError: the rdata type value is not >= 0 and <= 65535
    @rtype: stringii��s&type must be between >= 0 and <= 65535tTYPEN(RJt	_by_valueRCRE(RLRK((s1/usr/lib/python2.7/site-packages/dns/rdatatype.pytto_text�scCs/|tkr|tks'tj|�r+tStS(sbTrue if the type is a metatype.
    @param rdtype: the type
    @type rdtype: int
    @rtype: bool(R3R9t
_metatypesthas_keytTruetFalse(trdtype((s1/usr/lib/python2.7/site-packages/dns/rdatatype.pytis_metatype�s'cCstj|�rtStS(scTrue if the type is a singleton.
    @param rdtype: the type
    @type rdtype: int
    @rtype: bool(t_singletonsRRRSRT(RU((s1/usr/lib/python2.7/site-packages/dns/rdatatype.pytis_singleton�s(VRAtret
dns.exceptiontdnsRRRRRRRRRR	R
RRR
RRRRRRRRRtNSAP_PTRRRRRRRRRRR R!R"R#R$R%R&R'R(R)R*R+R,R-R.R/R0R1R2R3R4R5R6R7R8R9R:R;R<R=RBtdictt	iteritemstxtyRORSRQRWtcompiletIRFt	exceptiontDNSExceptionR>RMRPRVRX(((s1/usr/lib/python2.7/site-packages/dns/rdatatype.pyt<module>s
1