HEX
Server: LiteSpeed
System: Linux atali.colombiahosting.com.co 5.14.0-570.12.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 13 06:11:55 EDT 2025 x86_64
User: coopserp (1713)
PHP: 8.2.29
Disabled: dl,exec,passthru,proc_open,proc_close,shell_exec,memory_limit,system,popen,curl_multi_exec,show_source,symlink,link,leak,listen,diskfreespace,tmpfile,ignore_user_abord,highlight_file,source,show_source,fpaththru,virtual,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setid,posix_times,posix_ttyname,posix_uname,proc_get_status,proc_nice,proc_terminate
Upload Files
File: //usr/lib/python3.9/site-packages/dns/__pycache__/rdataclass.cpython-39.pyc
a

�M�e��@s�dZddlZddlZGdd�dejj�ZejejhZ	Gdd�dej
j�Ze
ed�dd	�Zee
d
�dd�Zeed
�dd�ZejZejZejZejZejZejZejZejZejZdS)zDNS Rdata Classes.�Nc@sdeZdZdZdZdZeZdZeZdZ	e	Z
dZdZe
dd	��Ze
d
d��Ze
dd
��Ze
dd��ZdS)�
RdataClasszDNS Rdata Classr�����cCsdS)Ni�����clsrr�2/usr/lib/python3.9/site-packages/dns/rdataclass.py�_maximum%szRdataClass._maximumcCsdS)N�classrr	rrr�_short_name)szRdataClass._short_namecCsdS)NZCLASSrr	rrr�_prefix-szRdataClass._prefixcCstS)N)�UnknownRdataclassr	rrr�_unknown_exception_class1sz#RdataClass._unknown_exception_classN)�__name__�
__module__�__qualname__�__doc__�	RESERVED0�IN�INTERNET�CH�CHAOS�HS�HESIOD�NONE�ANY�classmethodrrrrrrrrrs$


rc@seZdZdZdS)rzA DNS class is unknown.N)rrrrrrrrr9sr)�text�returncCs
t�|�S)a�Convert text into a DNS rdata class value.

    The input text can be a defined DNS RR class mnemonic or
    instance of the DNS generic class syntax.

    For example, "IN" and "CLASS1" will both result in a value of 1.

    Raises ``dns.rdatatype.UnknownRdataclass`` if the class is unknown.

    Raises ``ValueError`` if the rdata class value is not >= 0 and <= 65535.

    Returns a ``dns.rdataclass.RdataClass``.
    )r�	from_text)r rrrr"=sr")�valuer!cCs
t�|�S)aConvert a DNS rdata class value to text.

    If the value has a known mnemonic, it will be used, otherwise the
    DNS generic class syntax will be used.

    Raises ``ValueError`` if the rdata class value is not >= 0 and <= 65535.

    Returns a ``str``.
    )r�to_text)r#rrrr$Osr$)�rdclassr!cCs|tvrdSdS)z�True if the specified class is a metaclass.

    The currently defined metaclasses are ANY and NONE.

    *rdclass* is a ``dns.rdataclass.RdataClass``.
    TF)�_metaclasses)r%rrr�is_metaclass]sr')rZdns.enumZdnsZ
dns.exception�enum�IntEnumrrrr&�	exceptionZDNSExceptionr�strr"r$�boolr'rrrrrrrrrrr�<module>s"