eaiovnaovbqoebvqoeavibavo 3 WF@s0dZddlZddlZdZdZdZdZdZdZ dZ d Z d Z d Z d Zd ZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZ dZ!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.Z0d/Z1d0Z2d1Z3d2Z4d3Z5d4Z6d5Z7d6Z8d7Z9d8Z:d9Z;d:Zd=Z?d>Z@d?ZAd@ZBdAZCdBZDdCZEdDZFdEZGdFZHeeeeee e e e e eeeeeeeeeeeeeeeeeee e!e"e#e$e%e&e'e(e)e*e+e,e-e.e/e0e1e2e3e4e5e6e7e8e9e:e;ee?e@eAeBeCeDeEeFeGeHdGEZIeJdHdIeIjKDZLe)dJiZMe dJe"dJe(dJe/dJiZNejOdKejPZQGdLdMdMejRjSZTdNdOZUdPdQZVdRdSZWdTdUZXdS)VaDNS 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: dictN !#$%&')*+,-./012347;<>cglmiiii)ENONEANSMDMFCNAMESOAMBMGMRNULLWKSPTRHINFOMINFOMXTXTRPAFSDBX25ISDNRTNSAPzNSAP-PTRSIGKEYPXGPOSAAAALOCNXTSRVNAPTRKXCERTA6DNAMEOPTAPLDSSSHFPIPSECKEYRRSIGNSECDNSKEYDHCIDNSEC3 NSEC3PARAMTLSAHIPCDSCDNSKEYCSYNCSPFUNSPECEUI48EUI64TKEYTSIGIXFRAXFRMAILBMAILAANYURICAAAVCTADLVccs|]\}}||fVqdS)N).0xyrr/usr/lib/python3.6/rdatatype.py srTz TYPE([0-9]+)$c@seZdZdZdS)UnknownRdatatypez$DNS resource record type is unknown.N)__name__ __module__ __qualname____doc__rrrrrsrcCsVtj|j}|dkrRtj|}|dkr,tt|jd}|dksJ|dkrRtd|S)zConvert 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: intNrriz&type must be between >= 0 and <= 65535) _by_textgetupper_unknown_type_patternmatchrintgroup ValueError)textvaluerrrr from_texts rcCs:|dks|dkrtdtj|}|dkr6dt|}|S)zConvert 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: stringriz&type must be between >= 0 and <= 65535NZTYPE)r _by_valuerrepr)rrrrrto_texts   rcCs |tkr|tks|tkrdSdS)zbTrue if the type is a metatype. @param rdtype: the type @type rdtype: int @rtype: boolTF)rzr _metatypes)rdtyperrr is_metatypesrcCs|tkr dSdS)zcTrue if the type is a singleton. @param rdtype: the type @type rdtype: int @rtype: boolTF) _singletons)rrrr is_singletonsr)YrreZ dns.exceptionZdnsrBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrSrTrUrVrWrXZNSAP_PTRrYrZr[r\r]r^r_r`rarbrcrdrerfrgrhrirjrkrlrmrnrorprqrrrsrtrurvrwrxryrzr{r|r}r~rrrrrrrrdictitemsrrrcompileIrZ exceptionZ DNSExceptionrrrrrrrrrs0