관리-도구
편집 파일: message.cpython-38.pyc
U /?�f� � @ s� d Z ddlZddlZddlZddlmZmZmZmZm Z m Z ddlZddl ZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZG dd� dejj�Z G dd� dejj�Z!G dd � d ejj"�Z#G d d� dejj�Z$G dd � d ejj�Z%G dd� dejj"�Z&G dd� dejj"�Z'G dd� dejj"�Z(G dd� dejj"�Z)G dd� dejj"�Z*G dd� dejj+�Z,G dd� dej-j.�Z/G dd� d�Z0dZ1dZ2e e3ej4j5ej6j7ej8j9eej8j9 eej6j7 f Z:ee:ej;j<f Z=e e3e>eej;j< f Z?G d d!� d!�Z@G d"d#� d#�ZAG d$d%� d%e@�ZBd&d'� ZCd(d)� ZDG d*d+� d+�ZEdBeFee eeF eGeej4j5 ee ejHjIejHjJf eGeGeGeGeGeGe@d.� d/d0�ZKG d1d2� d2�ZLdCe>eej4jM eGeej4j5 eGeej4j5 e@d4�d5d6�ZNdDeeej4jM eGe@d7�d8d9�ZOej6jPdd-ddddddejQjRdfe ej4j5e>f e ej8j9e>f e ej6j7e>f ee e3eGf eGee3 ee3 ee3 eeejSjT eej4jM ee3 e3e3eBd:�d;d<�ZUdEe@eGe3e3e3ee3 e@d?�d@dA�ZVe/jWZWe/jXZXe/jYZYe/jZZZdS )FzDNS Messages� N)�Any�Dict�List�Optional�Tuple�Unionc @ s e Zd ZdZdS )�ShortHeaderz2The DNS packet passed to from_wire() is too short.N��__name__� __module__�__qualname__�__doc__� r r �9/opt/hc_python/lib/python3.8/site-packages/dns/message.pyr - s r c @ s e Zd ZdZdS )�TrailingJunkzEThe DNS packet passed to from_wire() has extra junk at the end of it.Nr r r r r r 1 s r c @ s e Zd ZdZdS )�UnknownHeaderFieldzVThe header field name was not recognized when converting from text into a message.Nr r r r r r 5 s r c @ s e Zd ZdZdS )�BadEDNSzLAn OPT record occurred somewhere other than the additional data section.Nr r r r r r : s r c @ s e Zd ZdZdS )�BadTSIGzWA TSIG record occurred somewhere other than the end of the additional data section.Nr r r r r r ? s r c @ s e Zd ZdZdS )�UnknownTSIGKeyz(A TSIG with an unknown key was received.Nr r r r r r D s r c s. e Zd ZdZdhZ� fdd�Zdd� Z� ZS )� TruncatedzThe truncated flag is set.�messagec s t � j||� d S �N)�super�__init__)�self�args�kwargs�� __class__r r r O s zTruncated.__init__c C s | j d S )zbAs much of the message as could be processed. Returns a ``dns.message.Message``. r )r �r r r r r R s zTruncated.message)r r r r Zsupp_kwargsr r � __classcell__r r r r r H s r c @ s e Zd ZdZdS )�NotQueryResponsez%Message is not a response to a query.Nr r r r r r! Z s r! c @ s e Zd ZdZdS )�ChainTooLongzThe CNAME chain is too long.Nr r r r r r"